mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
multimedia/farsight2: Fix build with recent libnice
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
43e12567da
commit
939fbd2bb8
2 changed files with 17 additions and 0 deletions
13
multimedia/farsight2/do_not_use_udp-bsd_h.patch
Normal file
13
multimedia/farsight2/do_not_use_udp-bsd_h.patch
Normal 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 */
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue