contrib: upnp: don't use a debug file
authorSteve Lhomme <robux4@videolabs.io>
Fri, 10 Jun 2016 08:08:01 +0000 (10:08 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 10 Jun 2016 12:18:53 +0000 (14:18 +0200)
send debug logs to stderr

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
contrib/src/upnp/rules.mak
contrib/src/upnp/upnp-no-debugfile.patch [new file with mode: 0644]

index 00ca94e..f62f008 100644 (file)
@@ -42,6 +42,7 @@ endif
        $(APPLY) $(SRC)/upnp/missing_win32.patch
        $(APPLY) $(SRC)/upnp/fix_infinite_loop.patch
        $(APPLY) $(SRC)/upnp/dont_use_down_intf.patch
+       $(APPLY) $(SRC)/upnp/upnp-no-debugfile.patch
        $(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess config.sub build-aux/
        $(MOVE)
 
diff --git a/contrib/src/upnp/upnp-no-debugfile.patch b/contrib/src/upnp/upnp-no-debugfile.patch
new file mode 100644 (file)
index 0000000..1a0d525
--- /dev/null
@@ -0,0 +1,11 @@
+--- upnp/upnp/src/inc/config.h 2016-05-27 21:10:05.804950200 +0200
++++ upnp/upnp/src/inc/config.h.debug   2016-05-27 20:59:31.808017700 +0200
+@@ -383,7 +383,7 @@
+  *
+  * @{
+  */
+-#define DEBUG_TARGET          1   
++#define DEBUG_TARGET          0   
+ /* @} */