patches/uClibc/0.9.30.2/250-libc-Fix-typo-in-include-rpc.patch
author Jang, Bongseo <graycells@gmail.com>
Sun Sep 23 11:53:02 2012 +0900 (2012-09-23)
changeset 3059 1e5fe55974bc
permissions -rw-r--r--
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 From b4d6a6e94d87ff2b4ae687a21048833f19b9dd48 Mon Sep 17 00:00:00 2001
     2 From: Carmelo Amoroso <carmelo.amoroso@st.com>
     3 Date: Mon, 8 Feb 2010 16:24:06 +0100
     4 Subject: [PATCH 11/15] libc: Fix typo in include/rpc
     5 
     6 s/GNU_SOUCE/GNU_SOURCE/ in include/rcp/
     7 
     8 Signed-off-by: Jason Woodward <jason.woodward@timesys.com>
     9 Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
    10 ---
    11  include/rpc/auth.h  |    4 ++--
    12  include/rpc/rpc.h   |    4 ++--
    13  include/rpc/types.h |    4 ++--
    14  3 files changed, 6 insertions(+), 6 deletions(-)
    15 
    16 diff --git a/include/rpc/auth.h b/include/rpc/auth.h
    17 index 17eb59f..12297e6 100644
    18 --- a/include/rpc/auth.h
    19 +++ b/include/rpc/auth.h
    20 @@ -47,8 +47,8 @@
    21  #ifndef __FORCE_GLIBC
    22  #define __FORCE_GLIBC
    23  #endif
    24 -#ifndef _GNU_SOUCE
    25 -#define _GNU_SOUCE
    26 +#ifndef _GNU_SOURCE
    27 +#define _GNU_SOURCE
    28  #endif
    29  #define _(X)	X
    30  #endif
    31 diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
    32 index 8194ffe..219910e 100644
    33 --- a/include/rpc/rpc.h
    34 +++ b/include/rpc/rpc.h
    35 @@ -44,8 +44,8 @@
    36  #ifndef __FORCE_GLIBC
    37  #define __FORCE_GLIBC
    38  #endif
    39 -#ifndef _GNU_SOUCE
    40 -#define _GNU_SOUCE
    41 +#ifndef _GNU_SOURCE
    42 +#define _GNU_SOURCE
    43  #endif
    44  #define _(X)	X
    45  #include <features.h>
    46 diff --git a/include/rpc/types.h b/include/rpc/types.h
    47 index 469576e..05f49c3 100644
    48 --- a/include/rpc/types.h
    49 +++ b/include/rpc/types.h
    50 @@ -39,8 +39,8 @@
    51  #ifndef __FORCE_GLIBC
    52  #define __FORCE_GLIBC
    53  #endif
    54 -#ifndef _GNU_SOUCE
    55 -#define _GNU_SOUCE
    56 +#ifndef _GNU_SOURCE
    57 +#define _GNU_SOURCE
    58  #endif
    59  #define _(X)	X
    60  #endif
    61 -- 
    62 1.6.6.1
    63