patches/uClibc/0.9.30.2/250-libc-Fix-typo-in-include-rpc.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jan 03 23:40:22 2011 +0100 (2011-01-03)
changeset 2267 7af68e6083aa
permissions -rw-r--r--
libc-glibc: remove 2.3.6

This is an obsolete version which is no longer used by any sample (the only
user, the ia64 sample, has been removed).

It also makes the code path a bit complex, with twists just to accomodate
that version. Removing the version will make those twists go away, and
will ease commonalisation of glibc and eglibc in the future (hopefully!).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     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