summaryrefslogtreecommitdiff
path: root/dev-libs/eb/files/eb-4.4.1-getopt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/eb/files/eb-4.4.1-getopt.patch')
-rw-r--r--dev-libs/eb/files/eb-4.4.1-getopt.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/eb/files/eb-4.4.1-getopt.patch b/dev-libs/eb/files/eb-4.4.1-getopt.patch
new file mode 100644
index 000000000000..56bedc4e20fb
--- /dev/null
+++ b/dev-libs/eb/files/eb-4.4.1-getopt.patch
@@ -0,0 +1,13 @@
+Remove declaration of getopt we already get from headers
+https://bugs.gentoo.org/943827
+--- a/libebutils/getopt.c
++++ b/libebutils/getopt.c
+@@ -87,8 +87,6 @@
+
+ #define EMSG ""
+
+-extern char *getenv();
+-
+ static int getopt_internal(int nargc, char * const *nargv,
+ const char *options);
+ static int gcd(int a, int b);