summaryrefslogtreecommitdiff
path: root/extra/vlc/vlc-2.2.8-libupnp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vlc/vlc-2.2.8-libupnp.patch')
-rw-r--r--extra/vlc/vlc-2.2.8-libupnp.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/vlc/vlc-2.2.8-libupnp.patch b/extra/vlc/vlc-2.2.8-libupnp.patch
new file mode 100644
index 00000000..34a59551
--- /dev/null
+++ b/extra/vlc/vlc-2.2.8-libupnp.patch
@@ -0,0 +1,16 @@
+diff -rauN vlc-2.2.8/modules/services_discovery/upnp.cpp vlc-2.2.8-libupnp-patch/modules/services_discovery/upnp.cpp
+--- vlc-2.2.8/modules/services_discovery/upnp.cpp 2017-09-07 12:26:08.000000000 +0200
++++ vlc-2.2.8-libupnp-patch/modules/services_discovery/upnp.cpp 2018-01-12 11:06:51.349999981 +0100
+@@ -50,6 +50,12 @@
+ typedef Upnp_Event UpnpEvent;
+ typedef Upnp_Event_Subscribe UpnpEventSubscribe;
+
++#undef UpnpDiscovery_get_Location_cstr
++#undef UpnpDiscovery_get_DeviceID_cstr
++#undef UpnpActionComplete_get_ActionResult
++#undef UpnpEvent_get_SID_cstr
++#undef UpnpEventSubscribe_get_SID_cstr
++
+ static const char* UpnpDiscovery_get_Location_cstr( const UpnpDiscovery* p_discovery )
+ {
+ return p_discovery->Location;