aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 000000000000..72607f2c10ef
--- /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 edf827d87ca3..b0cef0448007 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 \