summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-dicts/eblook/files')
-rw-r--r--app-dicts/eblook/files/eblook-1.6.1-LDFLAGS.patch20
-rw-r--r--app-dicts/eblook/files/eblook-1.6.1-clang-16-buildfix.patch11
2 files changed, 11 insertions, 20 deletions
diff --git a/app-dicts/eblook/files/eblook-1.6.1-LDFLAGS.patch b/app-dicts/eblook/files/eblook-1.6.1-LDFLAGS.patch
deleted file mode 100644
index 79bb33dd0292..000000000000
--- a/app-dicts/eblook/files/eblook-1.6.1-LDFLAGS.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/configure
-+++ b/configure
-@@ -21918,7 +21918,7 @@
- save_LIBS=$LIBS
- CPPFLAGS="$CPPFLAGS $EBCONF_PTHREAD_CPPFLAGS $EBCONF_EBINCS $EBCONF_ZLIBINCS $EBCONF_INTLINCS"
- CFLAGS="$CFLAGS $EBCONF_PTHREAD_CFLAGS"
--LDFLAGS="$LDFAGS $EBCONF_PTHREAD_LDFLAGS"
-+LDFLAGS="$LDFLAGS $EBCONF_PTHREAD_LDFLAGS"
- LIBS="$LIBS $EBCONF_EBLIBS $EBCONF_ZLIBLIBS $EBCONF_INTLLIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
-@@ -21981,7 +21981,7 @@
- sysconfdir=$sysconfdir
- CPPFLAGS="$CPPFLAGS $EBCONF_PTHREAD_CPPFLAGS $EBCONF_EBINCS $EBCONF_ZLIBINCS $EBCONF_INTLINCS"
- CFLAGS="$CFLAGS $EBCONF_PTHREAD_CFLAGS"
--LDFLAGS="$LDFAGS $EBCONF_PTHREAD_LDFLAGS"
-+LDFLAGS="$LDFLAGS $EBCONF_PTHREAD_LDFLAGS"
- LIBS="$LIBS $EBCONF_EBLIBS $EBCONF_ZLIBLIBS $EBCONF_INTLLIBS"
-
-
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