patches/glibc/2.1.3/glibc-2.1.3-allow-gcc-3.4-sunrpc.patch
changeset 330 447b203edc2e
parent 329 419d959441ed
child 331 0c05f9ea3254
     1.1 --- a/patches/glibc/2.1.3/glibc-2.1.3-allow-gcc-3.4-sunrpc.patch	Tue Aug 14 19:32:22 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,33 +0,0 @@
     1.4 -Fixes gcc-3.4.0 compilation errors
     1.5 -
     1.6 -rpc_hout.c: In function `print_funcdef':
     1.7 -rpc_hout.c:140: 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/sunrpc/rpc_hout.o] Error 1
     1.9 -make[2]: Leaving directory `/home/dank/wk/crosstool-0.28-rc4h/build/i686-unknown-linux-gnu/gcc-3.4.0-20040406-glibc-2.1.3/glibc-2.1.3/sunrpc'
    1.10 -
    1.11 -rpc_cout.c: In function `emit_inline':
    1.12 -rpc_cout.c:743: error: label at end of compound statement
    1.13 -...
    1.14 -
    1.15 ---- glibc-2.1.3/sunrpc/rpc_hout.c.old	Sun Apr 11 22:06:26 2004
    1.16 -+++ glibc-2.1.3/sunrpc/rpc_hout.c	Sun Apr 11 22:06:42 2004
    1.17 -@@ -136,7 +136,7 @@
    1.18 -       pprogramdef (def);
    1.19 -       break;
    1.20 -     default:
    1.21 --      /* ?... shouldn't happen I guess */
    1.22 -+      ; /* ?... shouldn't happen I guess */
    1.23 -     }
    1.24 - }
    1.25 - 
    1.26 ---- glibc-2.1.3/sunrpc/rpc_cout.c.old	Sun Apr 11 22:10:39 2004
    1.27 -+++ glibc-2.1.3/sunrpc/rpc_cout.c	Sun Apr 11 22:10:53 2004
    1.28 -@@ -739,7 +739,7 @@
    1.29 -       f_print (fout, "}\n");
    1.30 -       break;
    1.31 -     default:
    1.32 --      /* ?... do nothing I guess */
    1.33 -+      ; /* ?... do nothing I guess */
    1.34 -     }
    1.35 - }
    1.36 -