commit 1079a7c59690ba7ab14706e8d87389621efae707
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Oct 22 17:56:44 2018 +0200
Add patch
vlc-2.2x-fix-upnp.patch | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
---
diff --git a/vlc-2.2x-fix-upnp.patch b/vlc-2.2x-fix-upnp.patch
new file mode 100644
index 0000000..c6efe3c
--- /dev/null
+++ b/vlc-2.2x-fix-upnp.patch
@@ -0,0 +1,23 @@
+commit f9c5a343f1a8cad9c2c153f9c05e4e7201675a43
+Author: Tristan Matthews <tmatth(a)videolan.org>
+Date: Wed Nov 29 10:45:04 2017 -0500
+
+ 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(a)videolan.org>
+
+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
+@@ -40,7 +40,7 @@
+ #include <assert.h>
+ #include <limits.h>
+
+-#if UPNP_VERSION < 10800
++#if UPNP_VERSION < 10623
+ /*
+ * Compat functions and typedefs for libupnp prior to 1.8
+ */