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. diff --git a/depends/common/libzvbi/0011-fix-zvbi.patch b/depends/common/libzvbi/0011-fix-zvbi.patch new file mode 100644 index 00000000..a799ddc7 --- /dev/null +++ b/depends/common/libzvbi/0011-fix-zvbi.patch @@ -0,0 +1,42 @@ +diff --git a/configure.ac b/configure.ac +index 3737442..72760a9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -82,7 +82,7 @@ + inet_ntoa localtime_r memmove memset mkdir modf munmap \ + nl_langinfo putenv select setenv setlocale socket strcasecmp \ + strchr strdup strerror strncasecmp strndup strrchr strstr \ +- strtol strtoul tzset strptime getaddrinfo]) ++ strtol strtoul tzset strptime getaddrinfo sincos]) + + AM_CONDITIONAL(HAVE_STRPTIME, [test "x$HAVE_STRPTIME" = xyes]) + +@@ -103,28 +103,6 @@ + dnl "Noteworthy changes in autoconf version 2.66 through 2.68" + dnl + +-dnl sincos() is a GNU extension (a macro, not a function). +-dnl If not present we use a replacement. +-AC_MSG_CHECKING([for sincos]) +-AC_LINK_IFELSE([AC_LANG_SOURCE([ +-#include +-#include +-int main (void) { +-double s, c; +-/* Make sure the compiler does not optimize sincos() away +- so the linker can confirm its availability. */ +-scanf ("%f", &s); +-sincos (s, &s, &c); +-printf ("%f %f", s, c); +-return 0; +-} +-])],[ +- AC_MSG_RESULT([yes]) +- AC_DEFINE(HAVE_SINCOS, 1, [Define if the sincos() function is available]) +-],[ +- AC_MSG_RESULT([no]) +-]) +- + dnl log2() is a GNU extension (a macro, not a function). + dnl If not present we use a replacement. + AC_MSG_CHECKING([for log2])