diff options
| author | Guillem Jover <guillem@debian.org> | 2004-09-15 14:37:48 +0000 |
|---|---|---|
| committer | Guillem Jover <guillem@debian.org> | 2004-09-15 14:37:48 +0000 |
| commit | 8d2ca83e6df10aaf53516758d23e0cc70cdfddb1 (patch) | |
| tree | 34be9337bb95b219d1f68cd5911ee11d634cac0d /debian | |
| parent | 31ee332abd446da8bd1585afbaa1f9bbbc03a044 (diff) | |
Fix build failures for gcc-3.4.
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 1 | ||||
| -rw-r--r-- | debian/patches/12_fixes_gcc-3.4.patch | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 787caa5..60bb6c8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ gnumach (1:20040229-2) unstable; urgency=low Arief M. Utama <arief_mulya@yahoo.com>. * Update autoconf. Thanks to Marco Gerards <metgerards@student.han.nl>. + * Fix build failures for gcc-3.4. -- Guillem Jover <guillem@debian.org> Mon, 13 Sep 2004 19:19:30 +0200 diff --git a/debian/patches/12_fixes_gcc-3.4.patch b/debian/patches/12_fixes_gcc-3.4.patch new file mode 100644 index 0000000..f4c5d2a --- /dev/null +++ b/debian/patches/12_fixes_gcc-3.4.patch @@ -0,0 +1,41 @@ +2004-09-15 Guillem Jover <guillem@hadrons.org> + + * linux/dev/include/linux/skbuff.h (skb_put, skb_push): Fix errors + for deprecated use of labels at end of compound statements. + * i386/i386/fpe_linkage.c: Forward declare enable_fpe. + + +diff -Naur gnumach-20040229.orig/linux/dev/include/linux/skbuff.h gnumach-20040229/linux/dev/include/linux/skbuff.h +--- gnumach-20040229.orig/linux/dev/include/linux/skbuff.h 26 Apr 1999 05:48:00 -0000 1.1 ++++ gnumach-20040229/linux/dev/include/linux/skbuff.h 15 Sep 2004 12:52:34 -0000 +@@ -405,8 +405,8 @@ + if(skb->tail>skb->end) + { + __label__ here; +- panic("skput:over: %p:%d", &&here,len); + here: ++ panic("skput:over: %p:%d", &&here,len); + } + return tmp; + } +@@ -418,8 +418,8 @@ + if(skb->data<skb->head) + { + __label__ here; +- panic("skpush:under: %p:%d", &&here,len); + here: ++ panic("skpush:under: %p:%d", &&here,len); + } + return skb->data; + } +diff -Naur gnumach-20040229.orig/i386/i386/fpe_linkage.c gnumach-20040229/i386/i386/fpe_linkage.c +--- gnumach-20040229.orig/i386/i386/fpe_linkage.c 2004-09-15 16:10:15.000000000 +0200 ++++ gnumach-20040229/i386/i386/fpe_linkage.c 2004-09-15 16:09:23.000000000 +0200 +@@ -84,6 +84,7 @@ + ((struct real_gate *)&curr_idt(mycpu)[idx]) + + void set_user_access(); /* forward */ ++void enable_fpe(register struct i386_fpsave_state *ifps); + + /* + * long pointer for calling FPE register recovery routine. |
