debug/gdb: fix from upstream with newer glibc(siginfo vs siginfo_t, Gentoo gdb-7.4.1 patch)
This is for when you failed to build gdb-native with the error:
gdb-7.4.1/gdb/linux-nat.h:79:18: error: field 'siginfo' has incomplete type"
This is from mirror://gentoo/distfiles/gdb-7.4.1-patches-2.tar.xz
Signed-off-by: "Jang, Bongseo" <graycells@gmail.com>
[yann.morin.1998@free.fr: refresh ptrace_setsiginfo patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-ID: <4eef2edec3201c50b420.1348370891@localhost.localdomain>
PatchWork-ID: 186179
1 diff -durN duma_2_5_8.orig/Makefile duma_2_5_8/Makefile
2 --- duma_2_5_8.orig/Makefile 2007-08-17 09:34:25.000000000 +0200
3 +++ duma_2_5_8/Makefile 2007-09-07 21:50:04.000000000 +0200
16 createconf$(EXEPOSTFIX): createconf.o
17 - $(RMFORCE) createconf$(EXEPOSTFIX)
18 - $(CC) $(CFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
19 + $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
21 tstheap$(EXEPOSTFIX): libduma.a tstheap.o
22 - $(RMFORCE) tstheap$(EXEPOSTFIX)
24 # define rules how to build objects for createconf
27 - $(CC) $(CFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@
28 + $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@