aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorjsa <jsa@FreeBSD.org>2010-11-09 06:26:25 +0800
committerjsa <jsa@FreeBSD.org>2010-11-09 06:26:25 +0800
commit86252b70f86fd63a5ffba34f4d6561a9b48da7bc (patch)
tree1cbe5c0fcb2461e7873524e1e41f2b1724a96496 /multimedia
parent112199ee8b321094532835310604ea8cb3dc4d97 (diff)
downloadfreebsd-ports-gnome-86252b70f86fd63a5ffba34f4d6561a9b48da7bc.tar.gz
freebsd-ports-gnome-86252b70f86fd63a5ffba34f4d6561a9b48da7bc.tar.zst
freebsd-ports-gnome-86252b70f86fd63a5ffba34f4d6561a9b48da7bc.zip
Fix VLC with UPNP option.
Reported by: lme via IRC Approved by: wxs (mentor)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vlc/Makefile1
-rw-r--r--multimedia/vlc/files/extra-patch-modules__services_discovery__upnp_intel.cpp10
2 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index c02c0d4592ef..346fcc184a37 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -592,6 +592,7 @@ CONFIGURE_ARGS+= --enable-twolame
.if defined(WITH_UPNP)
LIB_DEPENDS+= upnp.4:${PORTSDIR}/devel/upnp
CONFIGURE_ARGS+=--enable-upnp
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-modules__services_discovery__upnp_intel.cpp
.else
CONFIGURE_ARGS+=--disable-upnp
.endif
diff --git a/multimedia/vlc/files/extra-patch-modules__services_discovery__upnp_intel.cpp b/multimedia/vlc/files/extra-patch-modules__services_discovery__upnp_intel.cpp
new file mode 100644
index 000000000000..b1f7edc457b1
--- /dev/null
+++ b/multimedia/vlc/files/extra-patch-modules__services_discovery__upnp_intel.cpp
@@ -0,0 +1,10 @@
+--- ./modules/services_discovery/upnp_intel.cpp.orig 2010-11-08 01:05:00.000000000 -0500
++++ ./modules/services_discovery/upnp_intel.cpp 2010-11-08 01:06:43.000000000 -0500
+@@ -36,6 +36,7 @@
+
+ #include "upnp_intel.hpp"
+
++#include <assert.h>
+ #include <vlc_plugin.h>
+ #include <vlc_services_discovery.h>
+