[Slackbuilds-users] Fix multimedia/farsight2
David Woodfall
dave at unrealize.co.uk
Tue Jun 1 23:55:28 UTC 2010
On (17:35 01/06/10), Max Miorim <miorimmax at gmail.com> put forth the proposition:
>Hi,
>
>libnice was updated to 0.0.11 quite some time ago and since then
>farsight2 fails to build because the header udp-bsd.h isn't provided
>by libnice anymore.
Hi, I have updates to farsight2 and libnice. Just waiting for
submissions to open.
D.
>
>The bug report https://bugs.freedesktop.org/show_bug.cgi?id=27260 has
>more details but, basically, farsight2 has to be patched to not use
>the said header or updated to 0.0.18.
>
>Following, the patch to don't include udp-bsd.h (it's "git am'able"):
>
>
>>From 0afb81df1002461c2b731325d94174d350848c13 Mon Sep 17 00:00:00 2001
>From: Max Miorim <miorimmax at gmail.com>
>Date: Tue, 1 Jun 2010 17:31:33 -0300
>Subject: [PATCH] multimedia/farsight2: fix build against libnice 0.0.11
>
>---
> multimedia/farsight2/do_not_use_udp-bsd_h.patch | 13 +++++++++++++
> multimedia/farsight2/farsight2.SlackBuild | 6 ++++++
> 2 files changed, 19 insertions(+), 0 deletions(-)
> create mode 100644 multimedia/farsight2/do_not_use_udp-bsd_h.patch
>
>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 0000000..72607f2
>--- /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 47814fa..ef80f2c 100644
>--- a/multimedia/farsight2/farsight2.SlackBuild
>+++ b/multimedia/farsight2/farsight2.SlackBuild
>@@ -75,6 +75,12 @@ 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, since it is no
>longer needed
>+# with libnice-0.0.11
>+#
>+# More details at https://bugs.freedesktop.org/show_bug.cgi?id=27260
>+patch -p1 < $CWD/do_not_use_udp-bsd_h.patch
>+
> CFLAGS="$SLKCFLAGS" \
> CXXFLAGS="$SLKCFLAGS" \
> ./configure \
>--
>1.7.1
>
>
>-- Max
>_______________________________________________
>SlackBuilds-users mailing list
>SlackBuilds-users at slackbuilds.org
>http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
>FAQ - http://slackbuilds.org/faq/
--
Don't look back, the lemmings are gaining on you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100602/227b2d0a/attachment.sig>
More information about the SlackBuilds-users
mailing list