summaryrefslogtreecommitdiff
path: root/media-video/vlc/files/vlc-9999-libupnp-slot-1.8.patch
blob: 15ffc6af6fa4c26ba11dfbbae5431058c40dffa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/modules/services_discovery/upnp-wrapper.hpp	2017-12-25 18:17:33.358015500 +0100
+++ b/modules/services_discovery/upnp-wrapper.hpp	2017-12-25 18:30:45.158167813 +0100
@@ -35,8 +35,8 @@
 #include <algorithm>
 #include <assert.h>
 
-#include <upnp.h>
-#include <upnptools.h>
+#include <upnp-1.8/upnp.h>
+#include <upnp-1.8/upnptools.h>
 
 #if UPNP_VERSION < 10800
 typedef void* UpnpEventPtr;

--- a/configure.ac	2017-12-09 14:09:12.956370304 +0100
+++ b/configure.ac	2017-12-09 14:13:25.236710362 +0100
@@ -4046,7 +4046,7 @@
 dnl
 dnl UPnP Plugin (Intel SDK)
 dnl
-PKG_ENABLE_MODULES_VLC([UPNP], [upnp], [libupnp], [Intel UPNP SDK],[auto])
+PKG_ENABLE_MODULES_VLC([UPNP], [upnp], [libupnp-1.8], [Intel UPNP SDK],[auto])
 
 EXTEND_HELP_STRING([Misc options:])