summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-dicts/eblook/files/eblook-1.6.1-clang-16-buildfix.patch')
-rw-r--r--app-dicts/eblook/files/eblook-1.6.1-clang-16-buildfix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-dicts/eblook/files/eblook-1.6.1-clang-16-buildfix.patch b/app-dicts/eblook/files/eblook-1.6.1-clang-16-buildfix.patch
new file mode 100644
index 000000000000..cae0edcdb186
--- /dev/null
+++ b/app-dicts/eblook/files/eblook-1.6.1-clang-16-buildfix.patch
@@ -0,0 +1,11 @@
+Bug: https://bugs.gentoo.org/894360
+--- a/getopt.c
++++ b/getopt.c
+@@ -40,6 +40,7 @@
+ #endif
+
+ #include <stdio.h>
++#include <string.h>
+
+ /* Comment out all this code if we are using the GNU C Library, and are not
+ actually compiling the library itself. This code is part of the GNU C