summaryrefslogtreecommitdiff
path: root/package/rtmpdump/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-21 15:03:45 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-21 15:03:45 +0100
commitf213d44553caf128b4b1a22e09254f56cc23d555 (patch)
treef6373c95501a09a54eb53a82e60ee0aa9a0b4594 /package/rtmpdump/patches
parent4ee17ddbe20e59d36c4d5724d32b8b87b4cbaed6 (diff)
disable ssl dependency
Diffstat (limited to 'package/rtmpdump/patches')
-rw-r--r--package/rtmpdump/patches/patch-Makefile18
-rw-r--r--package/rtmpdump/patches/patch-librtmp_Makefile10
2 files changed, 22 insertions, 6 deletions
diff --git a/package/rtmpdump/patches/patch-Makefile b/package/rtmpdump/patches/patch-Makefile
index 64f950750..feab03481 100644
--- a/package/rtmpdump/patches/patch-Makefile
+++ b/package/rtmpdump/patches/patch-Makefile
@@ -1,6 +1,6 @@
--- rtmpdump-2.4.orig/Makefile 2013-12-15 14:24:48.000000000 +0100
-+++ rtmpdump-2.4/Makefile 2013-12-15 15:18:27.000000000 +0100
-@@ -1,9 +1,9 @@
++++ rtmpdump-2.4/Makefile 2014-12-19 20:43:08.000000000 +0100
+@@ -1,28 +1,31 @@
VERSION=v2.4
-prefix=/usr/local
@@ -13,7 +13,19 @@
SYS=posix
#SYS=mingw
-@@ -21,8 +21,10 @@ CRYPTO_DEF=$(DEF_$(CRYPTO))
+
+-CRYPTO=OPENSSL
++#CRYPTO=OPENSSL
+ #CRYPTO=POLARSSL
+ #CRYPTO=GNUTLS
+ LIBZ=-lz
+ LIB_GNUTLS=-lgnutls -lhogweed -lnettle -lgmp $(LIBZ)
+ LIB_OPENSSL=-lssl -lcrypto $(LIBZ)
+ LIB_POLARSSL=-lpolarssl $(LIBZ)
++LIB_=$(LIBZ)
+ CRYPTO_LIB=$(LIB_$(CRYPTO))
+ DEF_=-DNO_CRYPTO
+ CRYPTO_DEF=$(DEF_$(CRYPTO))
DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
OPT=-O2
diff --git a/package/rtmpdump/patches/patch-librtmp_Makefile b/package/rtmpdump/patches/patch-librtmp_Makefile
index 8efd7ecb8..542622ac1 100644
--- a/package/rtmpdump/patches/patch-librtmp_Makefile
+++ b/package/rtmpdump/patches/patch-librtmp_Makefile
@@ -1,5 +1,5 @@
--- rtmpdump-2.4.orig/librtmp/Makefile 2013-12-15 14:24:48.000000000 +0100
-+++ rtmpdump-2.4/librtmp/Makefile 2013-12-15 15:20:13.000000000 +0100
++++ rtmpdump-2.4/librtmp/Makefile 2014-12-19 20:44:42.000000000 +0100
@@ -1,6 +1,6 @@
VERSION=v2.4
@@ -8,7 +8,7 @@
incdir=$(prefix)/include/librtmp
bindir=$(prefix)/bin
-@@ -11,9 +11,9 @@ INCDIR=$(DESTDIR)$(incdir)
+@@ -11,12 +11,12 @@ INCDIR=$(DESTDIR)$(incdir)
LIBDIR=$(DESTDIR)$(libdir)
MANDIR=$(DESTDIR)$(mandir)
@@ -20,7 +20,11 @@
+AR?=$(CROSS_COMPILE)ar
SYS=posix
- CRYPTO=OPENSSL
+-CRYPTO=OPENSSL
++#CRYPTO=OPENSSL
+ #CRYPTO=GNUTLS
+ DEF_POLARSSL=-DUSE_POLARSSL
+ DEF_OPENSSL=-DUSE_OPENSSL
@@ -74,8 +74,10 @@ SO_INST=$(SOINST_$(SHARED))
DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)