nixpkgs/pkgs/applications/office/openoffice/gcc46.patch
Lluís Batlle i Rossell b73a6999d0 Adding a patch for go-oo, so it does not dislike gcc 4.6.
svn path=/nixpkgs/trunk/; revision=32892
2012-03-08 13:35:42 +00:00

12 lines
558 B
Diff

--- 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."