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 -u binutils-2.18-orig/configure binutils-2.18/configure
2 --- binutils-2.18-orig/configure 2007-08-06 16:29:40.000000000 -0400
3 +++ binutils-2.18/configure 2007-09-27 22:41:51.000000000 -0400
4 @@ -6125,10 +6125,10 @@
5 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8 - # For an installed makeinfo, we require it to be from texinfo 4.4 or
9 + # For an installed makeinfo, we require it to be from texinfo 4.6 or
10 # higher, else we use the "missing" dummy.
11 if ${MAKEINFO} --version \
12 - | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
13 + | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
16 MAKEINFO="$MISSING makeinfo"
17 diff -u binutils-2.18-orig/configure.ac binutils-2.18/configure.ac
18 --- binutils-2.18-orig/configure.ac 2007-08-28 16:24:26.000000000 -0400
19 +++ binutils-2.18/configure.ac 2007-09-27 22:41:00.000000000 -0400
20 @@ -2400,10 +2400,10 @@
21 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
24 - # For an installed makeinfo, we require it to be from texinfo 4.4 or
25 + # For an installed makeinfo, we require it to be from texinfo 4.6 or
26 # higher, else we use the "missing" dummy.
27 if ${MAKEINFO} --version \
28 - | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
29 + | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
32 MAKEINFO="$MISSING makeinfo"