summaryrefslogtreecommitdiff
path: root/editors/openoffice-3/files/patch-connectivity
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2012-02-14 07:53:58 +0000
committerDon Lewis <truckman@FreeBSD.org>2012-02-14 07:53:58 +0000
commit8dfa54f367e85c606cb2ffe9b4997790f251d371 (patch)
treeffc969036b4efda67c9063ff9650d3ec3c9d0c5b /editors/openoffice-3/files/patch-connectivity
parent- Update to 0.13.3 (diff)
Add const qualifier to OSQLParser::error() to unbreak build.
Approved by: maho
Notes
Notes: svn path=/head/; revision=291324
Diffstat (limited to '')
-rw-r--r--editors/openoffice-3/files/patch-connectivity22
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/openoffice-3/files/patch-connectivity b/editors/openoffice-3/files/patch-connectivity
new file mode 100644
index 000000000000..b54ace581f74
--- /dev/null
+++ b/editors/openoffice-3/files/patch-connectivity
@@ -0,0 +1,22 @@
+--- connectivity/source/parse/sqlbison.y.orig 2011-01-18 05:32:30.000000000 -0800
++++ connectivity/source/parse/sqlbison.y 2012-02-13 14:03:12.000000000 -0800
+@@ -4334,7 +4334,7 @@
+ }
+
+ // -------------------------------------------------------------------------
+-void OSQLParser::error(sal_Char *fmt)
++void OSQLParser::error(const sal_Char *fmt)
+ {
+ if(!m_sErrorMessage.getLength())
+ {
+--- connectivity/inc/connectivity/sqlparse.hxx.orig 2011-01-18 05:32:29.000000000 -0800
++++ connectivity/inc/connectivity/sqlparse.hxx 2012-02-13 17:06:06.000000000 -0800
+@@ -232,7 +232,7 @@
+ // returns the type for a parameter in a given function name
+ static sal_Int32 getFunctionParameterType(sal_uInt32 _nTokenId,sal_uInt32 _nPos);
+
+- void error(sal_Char *fmt);
++ void error(const sal_Char *fmt);
+ int SQLlex();
+ #ifdef YYBISON
+ void setParseTree(OSQLParseNode * pNewParseTree);