gentoo-ebuilds/net-mail/gnubiff/files/gnubiff-2.2.17-configure.patch
Phil Stracchino a0b6e2a772
net-mail/gnubiff: add 2.2.17-r3
- adds a new LICENSE GPL-3+-with-openssl-exception
- cleans up all old 2.2.15 patches
- fixes compilation errors on clang-only systems by removing
  '-export-dynamic' from Makefile

Closes: https://bugs.gentoo.org/880267
Closes: https://bugs.gentoo.org/930500
Closes: https://bugs.gentoo.org/933241
Signed-off-by: Phil Stracchino <phils@caerllewys.net>
Closes: https://github.com/gentoo/gentoo/pull/37513
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-07-12 17:24:18 +03:00

18 lines
570 B
Diff

--- gnubiff-2.2.17/configure.ac
+++ gnubiff-2.2.17/configure.ac
@@ -115,10 +115,15 @@
dnl LIBSSL (for AES encryption/decryption)
AC_CHECK_LIB(ssl, AES_encrypt, AC_DEFINE_UNQUOTED(HAVE_AES, 1,
Define to 1 if AES encryption is available), [
AC_CHECK_LIB(crypto, AES_encrypt, AC_DEFINE_UNQUOTED(HAVE_AES, 1))])
+dnl needed for gold
+AC_CHECK_LIB([X11],[XSync])
+
+AC_CHECK_LIB([gthread-2.0],[g_thread_init])
+
dnl GLIB, GTK, ...
GTK_REQUIRED="gtk+-3.0 >= 3.0.0"
GMODULE_REQUIRED="gmodule-export-2.0 >= 2.4"
X11="xproto x11"
PKG_CHECK_MODULES(GNUBIFF_DEP,