patches/uClibc/0.9.30.2/250-libc-Fix-typo-in-include-rpc.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 02 18:26:53 2011 +0200 (2011-08-02)
changeset 2592 4908eb2b6f17
permissions -rw-r--r--
scripts/functions: cvs retrieval first tries the mirror for tarballs

The cvs download helper looks for the local tarballs dir to see if it
can find a pre-downloaded tarball, and if it does not find it, does
the actual fetch to upstream via cvs.

In the process, it does not even try to get a tarball from the local
mirror, which can be useful if the mirror has been pre-populated
manually (or with a previously downloaded tree).

Fake a tarball get with the standard tarball-download helper, but
without specifying any upstream URL, which makes the helper directly
try the LAN mirror.

Of course, if no mirror is specified, no URL wil be available, and
the standard cvs retrieval will kick in.

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