Commit a38fc7e1 authored by Rafaël Carré's avatar Rafaël Carré

contrib: upnp: fix build

(cherry picked from commit 3b1ecaf7ae893a53b1d8e4928824e10ca20ac2e9)
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 426218b6
--- 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
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment