aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/flvstreamer/files
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-10-17 15:37:29 +0800
committerhrs <hrs@FreeBSD.org>2013-10-17 15:37:29 +0800
commit8b9ced418577a84d3e6dc7c8d146ca8854ca5afa (patch)
treefccebf87b8655fc5055697f723cf853c87ec746c /multimedia/flvstreamer/files
parenta2cbfad90a87e15528ee03804666a0ae29bf4131 (diff)
downloadfreebsd-ports-gnome-8b9ced418577a84d3e6dc7c8d146ca8854ca5afa.tar.gz
freebsd-ports-gnome-8b9ced418577a84d3e6dc7c8d146ca8854ca5afa.tar.zst
freebsd-ports-gnome-8b9ced418577a84d3e6dc7c8d146ca8854ca5afa.zip
- Add STAGEDIR support.
- Fix build on stable/10 and head. - Style clean-ups.
Diffstat (limited to 'multimedia/flvstreamer/files')
-rw-r--r--multimedia/flvstreamer/files/patch-Makefile12
-rw-r--r--multimedia/flvstreamer/files/patch-bytes.h11
2 files changed, 22 insertions, 1 deletions
diff --git a/multimedia/flvstreamer/files/patch-Makefile b/multimedia/flvstreamer/files/patch-Makefile
index 919b1d2aab7d..dd18cfc1e0b4 100644
--- a/multimedia/flvstreamer/files/patch-Makefile
+++ b/multimedia/flvstreamer/files/patch-Makefile
@@ -1,5 +1,5 @@
--- Makefile.orig 2010-02-15 10:06:20.000000000 +0900
-+++ Makefile 2011-12-14 03:51:16.000000000 +0900
++++ Makefile 2013-10-17 09:16:18.000000000 +0900
@@ -1,12 +1,12 @@
-CC=$(CROSS_COMPILE)gcc
-LD=$(CROSS_COMPILE)ld
@@ -17,3 +17,13 @@
SLIBS=$(THREADLIB) $(LIBS)
EXT=
+@@ -18,8 +18,7 @@
+
+ progs: flvstreamer streams rtmpsrv rtmpsuck
+
+-posix linux unix osx:
+- @$(MAKE) $(MAKEFLAGS) progs
++posix linux unix osx: progs
+
+ mingw:
+ @$(MAKE) CROSS_COMPILE=mingw32- LIBS="$(LIBS) -lws2_32 -lwinmm -lgdi32" THREADLIB= EXT=.exe $(MAKEFLAGS) progs
diff --git a/multimedia/flvstreamer/files/patch-bytes.h b/multimedia/flvstreamer/files/patch-bytes.h
new file mode 100644
index 000000000000..bf9a3969d48c
--- /dev/null
+++ b/multimedia/flvstreamer/files/patch-bytes.h
@@ -0,0 +1,11 @@
+--- bytes.h.orig 2013-10-17 16:32:03.000000000 +0900
++++ bytes.h 2010-02-12 06:31:58.000000000 +0900
+@@ -35,7 +35,7 @@
+
+ typedef unsigned char uint8_t;
+
+-#elif (defined(__FreeBSD__) && __FreeBSD_version >= 470000) || defined(__OpenBSD__) || defined(__NetBSD__) // *BSD
++#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) // *BSD
+ #include <sys/endian.h>
+ #define __BIG_ENDIAN BIG_ENDIAN
+ #define __LITTLE_ENDIAN LITTLE_ENDIAN