--- a/patches/dev300/apply +++ b/patches/dev300/apply @@ -3577,6 +3577,7 @@ oowintool-java6.diff, fridrich connectivity-build-fix-mac.diff, thorsten vcl-xinerama-clone-fix.diff, n#578730, thorsten vcl-stl-fix.diff, n#588957, thorsten +enable-gcc45.diff [ HyphenFix ] # László Németh's patch for hyphen module --- /dev/null +++ b/patches/dev300/enable-gcc45.diff @@ -0,0 +1,17 @@ +--- cppu/inc/uno/lbnames.h.old 2010-02-02 12:49:41.000000000 +0100 ++++ cppu/inc/uno/lbnames.h 2010-03-05 17:13:22.000000000 +0100 +@@ -62,12 +62,12 @@ provoking error here, because PP ignores + #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__ <= 4) ++#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 5) + #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.4. Unsupported gcc major version." ++#error "Supported gcc majors are 2 , 3 and 4 <= 4.5. Unsupported gcc major version." + #endif /* defined (__GNUC__) */ + #endif /* defined (_MSC_VER) */ +