summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Miorim <miorimmax@gmail.com>2010-06-05 01:18:29 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-05 01:18:29 -0500
commit939fbd2bb8421720cc87df3d5561ab8da338244a (patch)
tree179f4bb7600d84338a48460036913276d28e411d
parent43e12567da5f362ba0392236f3de6686eda447bd (diff)
downloadslackbuilds-939fbd2bb8421720cc87df3d5561ab8da338244a.tar.gz
multimedia/farsight2: Fix build with recent libnice
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--multimedia/farsight2/do_not_use_udp-bsd_h.patch13
-rw-r--r--multimedia/farsight2/farsight2.SlackBuild4
2 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/farsight2/do_not_use_udp-bsd_h.patch b/multimedia/farsight2/do_not_use_udp-bsd_h.patch
new file mode 100644
index 0000000000..72607f2c10
--- /dev/null
+++ b/multimedia/farsight2/do_not_use_udp-bsd_h.patch
@@ -0,0 +1,13 @@
+Index: farsight2-0.0.17/transmitters/nice/fs-nice-stream-transmitter.c
+===================================================================
+--- farsight2-0.0.17.orig/transmitters/nice/fs-nice-stream-transmitter.c
++++ farsight2-0.0.17/transmitters/nice/fs-nice-stream-transmitter.c
+@@ -46,8 +46,6 @@
+ #include <string.h>
+ #include <sys/types.h>
+
+-#include <udp-bsd.h>
+-
+ #define GST_CAT_DEFAULT fs_nice_transmitter_debug
+
+ /* Signals */
diff --git a/multimedia/farsight2/farsight2.SlackBuild b/multimedia/farsight2/farsight2.SlackBuild
index edf827d87c..b0cef04480 100644
--- a/multimedia/farsight2/farsight2.SlackBuild
+++ b/multimedia/farsight2/farsight2.SlackBuild
@@ -75,6 +75,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Patch Farsight2 to not use udp-bsd.h from libnice; it is no longer needed
+# with libnice-0.0.11: https://bugs.freedesktop.org/show_bug.cgi?id=27260
+patch -p1 < $CWD/do_not_use_udp-bsd_h.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \