From fbc0a4e545fe018e98878b5b201c561fdae1509b Mon Sep 17 00:00:00 2001 From: boogie Date: Sun, 23 Jun 2024 01:10:45 +0200 Subject: [PATCH] Fix build of gnutls: When static linking hogweed interferes with nettle Fixes: https://github.com/xbmc/inputstream.ffmpegdirect/issues/299 --- .../gnutls/0004-hogweed-nettle-link-order.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 depends/common/gnutls/0004-hogweed-nettle-link-order.patch diff --git a/depends/common/gnutls/0004-hogweed-nettle-link-order.patch b/depends/common/gnutls/0004-hogweed-nettle-link-order.patch new file mode 100644 index 00000000..d6f88a94 --- /dev/null +++ b/depends/common/gnutls/0004-hogweed-nettle-link-order.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index e7bb291..a621557 100644 +--- a/configure ++++ b/configure +@@ -12611,7 +12611,7 @@ + printf "%s\n" "#define HAVE_LIBNETTLE 1" >>confdefs.h + + +- GNUTLS_REQUIRES_PRIVATE="Requires.private: nettle, hogweed" ++ GNUTLS_REQUIRES_PRIVATE="Requires.private: hogweed, nettle" + + + # Check whether --with-nettle-mini was given.