summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-12-09 14:27:31 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-12-09 14:52:23 +0100
commit34c95024aab1cfb361746997c55e1e44e5f037ab (patch)
treec3d14b8aef9c4593f2194fdae52d58927f68b9a8 /media-video
parentmedia-video/vlc: Drop redundant src_unpack (diff)
downloadgentoo-34c95024aab1cfb361746997c55e1e44e5f037ab.tar.gz
gentoo-34c95024aab1cfb361746997c55e1e44e5f037ab.tar.bz2
gentoo-34c95024aab1cfb361746997c55e1e44e5f037ab.zip
media-video/vlc: Fix <net-libs/libupnp-1.8 compat
Package-Manager: Portage-2.3.17, Repoman-2.3.6
Diffstat (limited to 'media-video')
-rw-r--r--media-video/vlc/files/vlc-2.2.8-libupnp-compat.patch28
-rw-r--r--media-video/vlc/vlc-2.2.9999.ebuild2
2 files changed, 30 insertions, 0 deletions
diff --git a/media-video/vlc/files/vlc-2.2.8-libupnp-compat.patch b/media-video/vlc/files/vlc-2.2.8-libupnp-compat.patch
new file mode 100644
index 000000000000..57b66685ede0
--- /dev/null
+++ b/media-video/vlc/files/vlc-2.2.8-libupnp-compat.patch
@@ -0,0 +1,28 @@
+From f9c5a343f1a8cad9c2c153f9c05e4e7201675a43 Mon Sep 17 00:00:00 2001
+From: Tristan Matthews <tmatth@videolan.org>
+Date: Wed, 29 Nov 2017 10:45:04 -0500
+Subject: [PATCH] upnp: don't clash with libupnp's own compat code
+
+Fixes build for upnp >= 1.6.23 and less than 1.8.
+
+Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
+---
+ modules/services_discovery/upnp.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
+index bdd3c55ee5..82d43632f4 100644
+--- a/modules/services_discovery/upnp.cpp
++++ b/modules/services_discovery/upnp.cpp
+@@ -38,7 +38,7 @@
+ #include <set>
+ #include <string>
+
+-#if UPNP_VERSION < 10800
++#if UPNP_VERSION < 10623
+ /*
+ * Compat functions and typedefs for libupnp prior to 1.8
+ */
+--
+2.11.0
+
diff --git a/media-video/vlc/vlc-2.2.9999.ebuild b/media-video/vlc/vlc-2.2.9999.ebuild
index 977724b1c275..40efb3e5ac10 100644
--- a/media-video/vlc/vlc-2.2.9999.ebuild
+++ b/media-video/vlc/vlc-2.2.9999.ebuild
@@ -213,6 +213,8 @@ PATCHES=(
# Bug #593460
"${FILESDIR}"/${PN}-2.2.4-libav-11.7.patch
+
+ "${FILESDIR}"/${P}-libupnp-compat.patch
)
DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt doc/intf-vcd.txt )