summaryrefslogtreecommitdiff
path: root/package/rtmpdump/patches/patch-Makefile.orig
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-16 10:54:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-16 10:54:03 +0100
commit469b35af91f6b8123943bab064ecf362e28bc438 (patch)
treea0d84be7d01cd656987e1deb7e032830682d3263 /package/rtmpdump/patches/patch-Makefile.orig
parent3a26d8a1629c063d336d61e0fcf622056499204e (diff)
fix xbmc build, use swig and sdl host, add CEC,NFS, SSH and Samba support
Diffstat (limited to 'package/rtmpdump/patches/patch-Makefile.orig')
-rw-r--r--package/rtmpdump/patches/patch-Makefile.orig28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/rtmpdump/patches/patch-Makefile.orig b/package/rtmpdump/patches/patch-Makefile.orig
new file mode 100644
index 000000000..9b10246bb
--- /dev/null
+++ b/package/rtmpdump/patches/patch-Makefile.orig
@@ -0,0 +1,28 @@
+--- rtmpdump-2.4.orig/Makefile 2013-12-15 14:24:48.000000000 +0100
++++ rtmpdump-2.4/Makefile 2013-12-15 15:17:36.000000000 +0100
+@@ -1,9 +1,9 @@
+ VERSION=v2.4
+
+-prefix=/usr/local
++prefix=/usr
+
+-CC=$(CROSS_COMPILE)gcc
+-LD=$(CROSS_COMPILE)ld
++CC=$(CROSS)gcc
++LD=$(CROSS)ld
+
+ SYS=posix
+ #SYS=mingw
+@@ -21,8 +21,10 @@ CRYPTO_DEF=$(DEF_$(CRYPTO))
+
+ DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
+ OPT=-O2
+-CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
+-LDFLAGS=-Wall $(XLDFLAGS)
++CFLAGS?=
++CFLAGS+=-Wall $(XCFLAGS) $(INC) $(DEF)
++LDFLAGS?=
++LDFLAGS+=-Wall $(XLDFLAGS)
+
+ bindir=$(prefix)/bin
+ sbindir=$(prefix)/sbin