* [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
@ 2009-03-04 15:34 Timothy Redaelli (drizzt)
0 siblings, 0 replies; only message in thread
From: Timothy Redaelli (drizzt) @ 2009-03-04 15:34 UTC (permalink / raw
To: gentoo-commits
drizzt 09/03/04 15:34:11
Added: gnulib-2008.07.23-rpl_getopt.patch
gnulib-2009.03.03.14.07.45-scandir.patch
Log:
Add a snapshot of gnulib
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch
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
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
Index: gnulib-2008.07.23-rpl_getopt.patch
===================================================================
--- lib/getopt.in.h.orig 2008-07-25 13:40:38 +0200
+++ lib/getopt.in.h 2008-07-25 13:41:25 +0200
@@ -20,6 +20,9 @@
#ifndef __need_getopt
# define _GETOPT_H 1
+# ifndef __GETOPT_PREFIX
+# define __GETOPT_PREFIX rpl_
+# endif
#endif
/* Standalone applications should #define __GETOPT_PREFIX to an
1.1 dev-libs/gnulib/files/gnulib-2009.03.03.14.07.45-scandir.patch
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
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
Index: gnulib-2009.03.03.14.07.45-scandir.patch
===================================================================
--- a/lib/scandir.c
+++ b/lib/scandir.c
@@ -18,6 +18,12 @@
#include <config.h>
#include <dirent.h>
+#ifndef _D_EXACT_NAMLEN
+# define _D_EXACT_NAMLEN(d) strlen ((d)->d_name)
+#endif
+#ifndef _D_ALLOC_NAMLEN
+# define _D_ALLOC_NAMLEN(d) (_D_EXACT_NAMLEN (d) + 1)
+#endif
#include <stdlib.h>
#include <string.h>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-04 15:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04 15:34 [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 Timothy Redaelli (drizzt)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox