aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtmpdump/gnutls.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-10-31 08:45:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-07 16:46:12 +0000
commit1f2c339bdf9888b2aec001df83c8d0e12c0a4113 (patch)
tree9e33913eb2b6aedd90ef0d6c07f0971cd7e351e4 /main/rtmpdump/gnutls.patch
parent1071e5913bb4650500a86baefbeb660976085127 (diff)
downloadaports-1f2c339bdf9888b2aec001df83c8d0e12c0a4113.tar.gz
aports-1f2c339bdf9888b2aec001df83c8d0e12c0a4113.tar.bz2
aports-1f2c339bdf9888b2aec001df83c8d0e12c0a4113.tar.xz
main/rtmpdump: rebuild against gnutls
upstream has no support for openssl 1.1
Diffstat (limited to 'main/rtmpdump/gnutls.patch')
-rw-r--r--main/rtmpdump/gnutls.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/rtmpdump/gnutls.patch b/main/rtmpdump/gnutls.patch
new file mode 100644
index 0000000000..2901d24246
--- /dev/null
+++ b/main/rtmpdump/gnutls.patch
@@ -0,0 +1,31 @@
+diff --git a/Makefile b/Makefile
+index a1595a8..9894586 100644
+--- a/Makefile
++++ b/Makefile
+@@ -8,9 +8,9 @@ LD=$(CROSS_COMPILE)ld
+ SYS=posix
+ #SYS=mingw
+
+-CRYPTO=OPENSSL
++#CRYPTO=OPENSSL
+ #CRYPTO=POLARSSL
+-#CRYPTO=GNUTLS
++CRYPTO=GNUTLS
+ LIBZ=-lz
+ LIB_GNUTLS=-lgnutls -lhogweed -lnettle -lgmp $(LIBZ)
+ LIB_OPENSSL=-lssl -lcrypto $(LIBZ)
+diff --git a/librtmp/Makefile b/librtmp/Makefile
+index 2c1c790..3e84e33 100644
+--- a/librtmp/Makefile
++++ b/librtmp/Makefile
+@@ -16,8 +16,8 @@ LD=$(CROSS_COMPILE)ld
+ AR=$(CROSS_COMPILE)ar
+
+ SYS=posix
+-CRYPTO=OPENSSL
+-#CRYPTO=GNUTLS
++#CRYPTO=OPENSSL
++CRYPTO=GNUTLS
+ DEF_POLARSSL=-DUSE_POLARSSL
+ DEF_OPENSSL=-DUSE_OPENSSL
+ DEF_GNUTLS=-DUSE_GNUTLS