Skip to content
Snippets Groups Projects
Commit be9bc069 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf
Browse files

contrib: upnp: Remove unneeded patch

If libupnp is built without --enable-debug, debug is entirely
deactivated.
When debug is enabled, users are required to call UpnpInitLog to enable
logging, otherwise logs are dropped
parent eeb078dd
No related branches found
No related tags found
1 merge request!2329contrib: Bump libupnp to 1.14.13
......@@ -53,7 +53,6 @@ ifdef HAVE_ANDROID
$(APPLY) $(SRC)/upnp/revert-ifaddrs.patch
endif
$(APPLY) $(SRC)/upnp/miniserver.patch
$(APPLY) $(SRC)/upnp/upnp-no-debugfile.patch
$(APPLY) $(SRC)/upnp/miniserver-pton-error.patch
$(UPDATE_AUTOCONFIG)
$(MOVE)
......
From ef877d8c4991adf4d0615892fee64f6212f850b1 Mon Sep 17 00:00:00 2001
From: Alaric Senat <dev.asenat@posteo.net>
Date: Wed, 10 Mar 2021 14:54:00 +0100
Subject: no-debugfile
---
upnp/src/inc/config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/upnp/src/inc/config.h b/upnp/src/inc/config.h
index 8dc8cdb..6f2e17f 100644
--- a/upnp/src/inc/config.h
+++ b/upnp/src/inc/config.h
@@ -409,7 +409,7 @@
* see <upnp/inc/upnpdebug.h>
*/
-#define DEBUG_ALL 1
+#define DEBUG_ALL 0
#define DEBUG_SSDP 0
#define DEBUG_SOAP 0
#define DEBUG_GENA 0
--
2.29.2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment