diff options
author | Eric Hameleers <alien@slackware.com> | 2023-09-15 21:25:02 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2023-09-15 21:25:02 +0000 |
commit | 5a440eb5acefb087efa1101349d3bc5d80e9fe47 (patch) | |
tree | 8feca388809c78e5e2f6a31950db4c8a331bf7e3 | |
parent | 9d9be83166e85d722f46b0fb8c636c1b6aa08e81 (diff) | |
download | asb-5a440eb5acefb087efa1101349d3bc5d80e9fe47.tar.gz asb-5a440eb5acefb087efa1101349d3bc5d80e9fe47.tar.xz |
Initial revision
-rw-r--r-- | vlc/build/patches/libshout_no_openssl.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vlc/build/patches/libshout_no_openssl.patch b/vlc/build/patches/libshout_no_openssl.patch new file mode 100644 index 00000000..38e4c776 --- /dev/null +++ b/vlc/build/patches/libshout_no_openssl.patch @@ -0,0 +1,20 @@ +diff --git a/m4/xiph_openssl.m4 b/m4/xiph_openssl.m4 +index f62a524..dcc8202 100644 +--- a/m4/xiph_openssl.m4 ++++ b/m4/xiph_openssl.m4 +@@ -30,6 +30,7 @@ else + fi + + # Now try linking to openssl ++if test x$with_openssl != xno; then + xt_save_CFLAGS="$CFLAGS" + xt_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $OPENSSL_CFLAGS" +@@ -37,6 +38,7 @@ LIBS="$OPENSSL_LIBS $LIBS" + AC_TRY_LINK([#include <openssl/ssl.h>], [void *a = SSL_new], [openssl_ok='yes']) + CFLAGS="$xt_save_CFLAGS" + LIBS="$xt_save_LIBS" ++fi + + if test "$openssl_ok" = "yes"; then + AC_DEFINE(HAVE_OPENSSL, 1, [Define if you have libopenssl.]) |