multimedia/farsight2: Fix build with recent libnice

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Max Miorim 2010-06-05 01:18:29 -05:00 committed by Robby Workman
parent 43e12567da
commit 939fbd2bb8
2 changed files with 17 additions and 0 deletions

View file

@ -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 */

View file

@ -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 \