Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/vlc/vlc-2.2.8-libupnp.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-01-12 11:22:09 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-01-12 11:22:09 +0100
commit163a4b79e6bd5e42ee23722641ef56b3dcda53ff (patch)
treec66d6a78afeddd7a0341e809fc4643bbbd742e2d /extra/vlc/vlc-2.2.8-libupnp.patch
parent534078fa033d0390d9129237f95be1c0930d2524 (diff)
extra/vlc: patches for C++11 and libupnp accessers
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;