]> git.sesse.net Git - vlc/commitdiff
contrib: upnp: fix build
authorRafaël Carré <funman@videolan.org>
Sun, 7 Apr 2013 22:29:01 +0000 (00:29 +0200)
committerRafaël Carré <funman@videolan.org>
Sun, 7 Apr 2013 22:29:01 +0000 (00:29 +0200)
contrib/src/upnp/miniserver.patch [new file with mode: 0644]
contrib/src/upnp/rules.mak

diff --git a/contrib/src/upnp/miniserver.patch b/contrib/src/upnp/miniserver.patch
new file mode 100644 (file)
index 0000000..45ff90c
--- /dev/null
@@ -0,0 +1,17 @@
+--- upnp/upnp/src/api/upnpapi.c.orig   2013-04-08 00:23:46.000000000 +0200
++++ upnp/upnp/src/api/upnpapi.c        2013-04-08 00:25:49.000000000 +0200
+@@ -358,13 +358,13 @@
+               return retVal;
+       }
++#ifdef INTERNAL_WEB_SERVER
+ #ifdef INCLUDE_DEVICE_APIS
+ #if EXCLUDE_SOAP == 0
+       SetSoapCallback(soap_device_callback);
+ #endif
+ #endif /* INCLUDE_DEVICE_APIS */
+-#ifdef INTERNAL_WEB_SERVER
+ #if EXCLUDE_GENA == 0
+       SetGenaCallback(genaCallback);
+ #endif
index 228aba7194e92c74deacf238be1eea695e871d90..7fa2359d276e2bfc5de4fd6ee134001be02ff73b 100644 (file)
@@ -22,6 +22,7 @@ ifdef HAVE_WIN32
        $(APPLY) $(SRC)/upnp/libupnp-win64.patch
 endif
        $(APPLY) $(SRC)/upnp/libupnp-ipv6.patch
+       $(APPLY) $(SRC)/upnp/miniserver.patch
        $(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess config.sub build-aux/
        $(MOVE)