Gentoo Archives: gentoo-commits

From: "Timothy Redaelli (drizzt)" <drizzt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/gnulib/files: gnulib-2008.07.23-rpl_getopt.patch gnulib-2009.03.03.14.07.45-scandir.patch
Date: Wed, 04 Mar 2009 15:34:13
Message-Id: E1Let6p-0000kp-9f@stork.gentoo.org
1 drizzt 09/03/04 15:34:11
2
3 Added: gnulib-2008.07.23-rpl_getopt.patch
4 gnulib-2009.03.03.14.07.45-scandir.patch
5 Log:
6 Add a snapshot of gnulib
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch?rev=1.1&content-type=text/plain
14
15 Index: gnulib-2008.07.23-rpl_getopt.patch
16 ===================================================================
17 --- lib/getopt.in.h.orig 2008-07-25 13:40:38 +0200
18 +++ lib/getopt.in.h 2008-07-25 13:41:25 +0200
19 @@ -20,6 +20,9 @@
20
21 #ifndef __need_getopt
22 # define _GETOPT_H 1
23 +# ifndef __GETOPT_PREFIX
24 +# define __GETOPT_PREFIX rpl_
25 +# endif
26 #endif
27
28 /* Standalone applications should #define __GETOPT_PREFIX to an
29
30
31
32 1.1 dev-libs/gnulib/files/gnulib-2009.03.03.14.07.45-scandir.patch
33
34 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gnulib/files/gnulib-2009.03.03.14.07.45-scandir.patch?rev=1.1&view=markup
35 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gnulib/files/gnulib-2009.03.03.14.07.45-scandir.patch?rev=1.1&content-type=text/plain
36
37 Index: gnulib-2009.03.03.14.07.45-scandir.patch
38 ===================================================================
39 --- a/lib/scandir.c
40 +++ b/lib/scandir.c
41 @@ -18,6 +18,12 @@
42 #include <config.h>
43
44 #include <dirent.h>
45 +#ifndef _D_EXACT_NAMLEN
46 +# define _D_EXACT_NAMLEN(d) strlen ((d)->d_name)
47 +#endif
48 +#ifndef _D_ALLOC_NAMLEN
49 +# define _D_ALLOC_NAMLEN(d) (_D_EXACT_NAMLEN (d) + 1)
50 +#endif
51
52 #include <stdlib.h>
53 #include <string.h>