summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-30 01:22:19 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-30 01:22:19 +0000
commitae3abd599e2487db127413422c47f7575812e036 (patch)
treea36a172b6309cdd538da03470c7ea6b0cbc3b0c9 /sys-freebsd/freebsd-ubin/files
parentMissed 3.5.2. (diff)
downloadgentoo-2-ae3abd599e2487db127413422c47f7575812e036.tar.gz
gentoo-2-ae3abd599e2487db127413422c47f7575812e036.tar.bz2
gentoo-2-ae3abd599e2487db127413422c47f7575812e036.zip
Add patch to build with GCC 4.1.
(Portage version: 2.1_rc3-r1)
Diffstat (limited to 'sys-freebsd/freebsd-ubin/files')
-rw-r--r--sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.1-gcc41.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.1-gcc41.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.1-gcc41.patch
new file mode 100644
index 000000000000..00d7a9e96b22
--- /dev/null
+++ b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.1-gcc41.patch
@@ -0,0 +1,35 @@
+Index: fbsd-6.1/usr.bin/window/wwgets.c
+===================================================================
+--- fbsd-6.1.orig/usr.bin/window/wwgets.c
++++ fbsd-6.1/usr.bin/window/wwgets.c
+@@ -43,6 +43,8 @@ static char rcsid[] =
+ #include "ww.h"
+ #include "char.h"
+
++static void rub();
++
+ wwgets(buf, n, w)
+ char *buf;
+ int n;
+@@ -51,7 +53,6 @@ register struct ww *w;
+ register char *p = buf;
+ register int c;
+ char uc = w->ww_unctrl;
+- static void rub();
+
+ w->ww_unctrl = 0;
+ for (;;) {
+Index: fbsd-6.1/usr.bin/xlint/xlint/xlint.c
+===================================================================
+--- fbsd-6.1.orig/usr.bin/xlint/xlint/xlint.c
++++ fbsd-6.1/usr.bin/xlint/xlint/xlint.c
+@@ -402,7 +402,8 @@ main(int argc, char *argv[])
+ break;
+
+ case 'p':
+- appcstrg(&lcflags, "-Wtraditional -Wno-system-headers");
++ appcstrg(&lcflags, "-Wtraditional");
++ appcstrg(&lcflags, "-Wno-system-headers");
+ appcstrg(&l1flags, "-p");
+ appcstrg(&l2flags, "-p");
+ if (*deflibs != NULL) {