summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch')
-rw-r--r--dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch b/dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch
new file mode 100644
index 000000000000..2ef427a84c3b
--- /dev/null
+++ b/dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch
@@ -0,0 +1,12 @@
+--- 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