Explorar el Código

fix building under GCC 4.0 world order

Ralf S. Engelschall hace 20 años
padre
commit
bc5be6f521
Se han modificado 2 ficheros con 13 adiciones y 1 borrados
  1. 12 0
      gdb/gdb.patch
  2. 1 1
      gdb/gdb.spec

+ 12 - 0
gdb/gdb.patch

@@ -381,3 +381,15 @@ Index: gdb/configure
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+Index: gdb/i386fbsd-tdep.c
+--- gdb/i386fbsd-tdep.c.orig	2004-02-22 17:20:22 +0100
++++ gdb/i386fbsd-tdep.c	2005-10-18 17:17:30 +0200
+@@ -45,7 +45,7 @@
+ CORE_ADDR i386fbsd_sigtramp_end_addr = 0xbfbfdff0;
+ 
+ /* From <machine/signal.h>.  */
+-static int i386fbsd_sc_reg_offset[] =
++int i386fbsd_sc_reg_offset[] =
+ {
+   8 + 14 * 4,			/* %eax */
+   8 + 13 * 4,			/* %ecx */

+ 1 - 1
gdb/gdb.spec

@@ -33,7 +33,7 @@ Class:        BASE
 Group:        Development
 License:      GPL
 Version:      6.3
-Release:      20041210
+Release:      20051018
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.gz