diff options
author | 2011-05-22 17:03:59 +0000 | |
---|---|---|
committer | 2011-05-22 17:03:59 +0000 | |
commit | 8e5d56b03932419601a50d6557126824cf05576e (patch) | |
tree | 34f8d25161c7326c9db92c901dccda022954c00d /app-office/libreoffice/files | |
parent | x86 stable per bug 364505 (diff) | |
download | gentoo-2-8e5d56b03932419601a50d6557126824cf05576e.tar.gz gentoo-2-8e5d56b03932419601a50d6557126824cf05576e.tar.bz2 gentoo-2-8e5d56b03932419601a50d6557126824cf05576e.zip |
Fix build with bison 2.5, bug #367963
(Portage version: 2.2.0_alpha34/cvs/Linux x86_64)
Diffstat (limited to 'app-office/libreoffice/files')
-rw-r--r-- | app-office/libreoffice/files/libreoffice-3.3.2-bison25.diff | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-office/libreoffice/files/libreoffice-3.3.2-bison25.diff b/app-office/libreoffice/files/libreoffice-3.3.2-bison25.diff new file mode 100644 index 000000000000..869b6c81e2bc --- /dev/null +++ b/app-office/libreoffice/files/libreoffice-3.3.2-bison25.diff @@ -0,0 +1,23 @@ +--- connectivity/source/parse/sqlbison.y 2011-05-20 13:21:02.000000000 -0600 ++++ connectivity/source/parse/sqlbison.y 2011-05-20 13:22:11.000000000 -0600 +@@ -4338,7 +4338,7 @@ + } + + // ------------------------------------------------------------------------- +-void OSQLParser::error(sal_Char *fmt) ++void OSQLParser::error(const sal_Char *fmt) + { + if(!m_sErrorMessage.getLength()) + { +--- connectivity/inc/connectivity/sqlparse.hxx 2011-05-20 13:23:58.000000000 -0600 ++++ connectivity/inc/connectivity/sqlparse.hxx 2011-05-20 13:23:46.000000000 -0600 +@@ -233,7 +233,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); + |