nixpkgs/pkgs/applications/office/openoffice/gcc46.patch

12 lines
558 B
Diff
Raw Normal View History

--- a/build/OOO320_m19/cppu/inc/uno/lbnames.h
+++ b/build/OOO320_m19/cppu/inc/uno/lbnames.h
@@ -59,7 +59,7 @@ provoking error here, because PP ignores #error
#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__ <= 5)
+#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 6)
#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."