1.1 --- a/patches/glibc/2.1.3/glibc-2.1.3-allow-gcc-3.4-db2.patch Tue Aug 14 19:32:22 2007 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,17 +0,0 @@
1.4 -Fixes error compiling with gcc-3.4.0:
1.5 -
1.6 -os/os_oflags.c: In function `__db_oflags':
1.7 -os/os_oflags.c:48: error: label at end of compound statement
1.8 -make[2]: *** [/home/dank/wk/crosstool-0.28-rc4h/build/i686-unknown-linux-gnu/gcc-3.4.0-20040406-glibc-2.1.3/build-glibc/db2/os_oflags.os] Error 1
1.9 -
1.10 ---- glibc-2.1.3/db2/os/os_oflags.c.old Sun Apr 11 19:56:44 2004
1.11 -+++ glibc-2.1.3/db2/os/os_oflags.c Sun Apr 11 19:57:06 2004
1.12 -@@ -44,7 +44,7 @@
1.13 - case O_RDWR:
1.14 - break;
1.15 - default: /* Bogus flags value from user. */
1.16 -- /* XXX no way to return error from here */
1.17 -+ ; /* XXX no way to return error from here */
1.18 - }
1.19 - if (oflags & O_CREAT)
1.20 - dbflags |= DB_CREATE;