diff --git a/contrib/src/upnp/libupnp-windows.patch b/contrib/src/upnp/libupnp-windows.patch index 9985763c7f833ebab508c395621f2def3b8b8ec0..8db50d6b73ad1445bdd6a677e1414d4f2d0259c0 100644 --- a/contrib/src/upnp/libupnp-windows.patch +++ b/contrib/src/upnp/libupnp-windows.patch @@ -2597,7 +2597,7 @@ Subject: [PATCH] Windows patch. + +/** Defined to 1 if the library has been compiled with integrated web server + * (i.e. configure --enable-webserver --enable-device) */ -+#define UPNP_HAVE_WEBSERVER 1 ++#define UPNP_HAVE_WEBSERVER 0 + +/** Defined to 1 if the library has been compiled with the SSDP part enabled + * (i.e. configure --enable-ssdp) */ @@ -2898,7 +2898,7 @@ Subject: [PATCH] Windows patch. +#define UPNP_HAVE_TOOLS 1 + +/* see upnpconfig.h */ -+#define UPNP_HAVE_WEBSERVER 1 ++#define UPNP_HAVE_WEBSERVER 0 + +/* whether the system defaults to 32bit off_t but can do 64bit when requested + */ diff --git a/contrib/src/upnp/rules.mak b/contrib/src/upnp/rules.mak index 5d995c7bb5b246458752ec054c6f8d19035fa98c..e83a5cc9ff5eb8a532e247e4b387fd541eba6e2c 100644 --- a/contrib/src/upnp/rules.mak +++ b/contrib/src/upnp/rules.mak @@ -25,10 +25,10 @@ endif .upnp: upnp ifdef HAVE_WIN32 $(RECONF) - cd $< && $(HOSTVARS) CFLAGS="-DUPNP_STATIC_LIB" ./configure --disable-largefile --disable-samples --without-documentation $(HOSTCONF) + cd $< && $(HOSTVARS) CFLAGS="-DUPNP_STATIC_LIB" ./configure --disable-largefile --disable-samples --disable-webserver --without-documentation $(HOSTCONF) else $(RECONF) - cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -DUPNP_STATIC_LIB" ./configure --disable-largefile --disable-samples --without-documentation $(HOSTCONF) + cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -DUPNP_STATIC_LIB" ./configure --disable-largefile --disable-samples --disable-webserver --without-documentation $(HOSTCONF) endif cd $< && $(MAKE) install touch $@