packages: openoffice.org/openoffice.org-gcc44.patch (NEW) - fixes build wit...

megabajt megabajt at pld-linux.org
Fri May 15 13:51:23 CEST 2009


Author: megabajt                     Date: Fri May 15 11:51:23 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixes build with gcc 4.4

---- Files affected:
packages/openoffice.org:
   openoffice.org-gcc44.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/openoffice.org/openoffice.org-gcc44.patch
diff -u /dev/null packages/openoffice.org/openoffice.org-gcc44.patch:1.1
--- /dev/null	Fri May 15 13:51:23 2009
+++ packages/openoffice.org/openoffice.org-gcc44.patch	Fri May 15 13:51:18 2009
@@ -0,0 +1,37 @@
+--- cppu/inc/uno/lbnames.h	2009-05-14 10:15:32.450324998 +0200
++++ cppu/inc/uno/lbnames.h.new	2009-05-14 10:15:19.216975028 +0200
+@@ -65,12 +65,12 @@
+ #error "Tested gcc 2 versions are 2.91 and 2.95.  Patch uno/lbnames.h to try your gcc 2 version."
+ #elif (__GNUC__ == 3 && __GNUC_MINOR__ <= 4)
+ #define __CPPU_ENV gcc3
+-#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 3)
++#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 4)
+ #define __CPPU_ENV gcc3
+ #elif (__GNUC__ == 3)
+ #error "Tested gcc 3 version is <= 3.4.  Patch uno/lbnames.h to try your gcc 3 version."
+ #else
+-#error "Supported gcc majors are 2 , 3 and 4 <= 4.3.  Unsupported gcc major version."
++#error "Supported gcc majors are 2 , 3 and 4 <= 4.4.  Unsupported gcc major version."
+ #endif /* defined (__GNUC__) */
+ #endif /* defined (_MSC_VER) */
+ 
+--- fpicker/source/unx/kde_unx/UnxFilePicker.cxx	2009-05-14 19:55:08.230039645 +0200
++++ fpicker/source/unx/kde_unx/UnxFilePicker.cxx.new	2009-05-14 19:55:02.577509356 +0200
+@@ -137,6 +137,7 @@
+ #include <fcntl.h>
+ 
+ #include <iostream>
++#include <cstdio>
+ 
+ using namespace ::com::sun::star;
+ 
+--- sw/source/filter/ww8/WW8TableInfo.cxx	2008-11-19 15:35:52.000000000 +0100
++++ sw/source/filter/ww8/WW8TableInfo.cxx.new	2009-05-14 19:57:29.383545771 +0200
+@@ -29,6 +29,7 @@
+  ************************************************************************/
+ 
+ #include <iostream> 
++#include <cstdio>
+ #include "WW8TableInfo.hxx"
+ #include "swtable.hxx"
+ #include "pam.hxx"
================================================================


More information about the pld-cvs-commit mailing list