diff options
author | jsa <jsa@FreeBSD.org> | 2010-11-09 06:26:25 +0800 |
---|---|---|
committer | jsa <jsa@FreeBSD.org> | 2010-11-09 06:26:25 +0800 |
commit | 86252b70f86fd63a5ffba34f4d6561a9b48da7bc (patch) | |
tree | 1cbe5c0fcb2461e7873524e1e41f2b1724a96496 /multimedia | |
parent | 112199ee8b321094532835310604ea8cb3dc4d97 (diff) | |
download | freebsd-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/Makefile | 1 | ||||
-rw-r--r-- | multimedia/vlc/files/extra-patch-modules__services_discovery__upnp_intel.cpp | 10 |
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> + |