diff --git a/package/powerpc/yaboot/gcc34.patch b/package/powerpc/yaboot/gcc34.patch new file mode 100644 index 000000000..f4b4e0290 --- /dev/null +++ b/package/powerpc/yaboot/gcc34.patch @@ -0,0 +1,19 @@ + +The usual gcc-3.4 fixes. + + - Rene Rebe + +diff -ur yaboot-1.3.11-orig/lib/strstr.c yaboot-1.3.11/lib/strstr.c +--- yaboot-1.3.11-orig/lib/strstr.c 2001-09-20 15:15:31.000000000 +0200 ++++ yaboot-1.3.11/lib/strstr.c 2004-05-04 11:23:49.000000000 +0200 +@@ -76,7 +76,9 @@ + a = *++haystack; + if (a == '\0') + goto ret0; +-shloop: } ++shloop: ++ ((void)0); ++ } + while (a != b); + + jin: a = *++haystack;