[vlc-commits] contrib: upnp: don't use a debug file

Steve Lhomme git at videolan.org
Fri Jun 10 14:19:09 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Fri Jun 10 10:08:01 2016 +0200| [8b30e61387df2ed56a7712db46a86c5f95b5ce13] | committer: Jean-Baptiste Kempf

contrib: upnp: don't use a debug file

send debug logs to stderr

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8b30e61387df2ed56a7712db46a86c5f95b5ce13
---

 contrib/src/upnp/rules.mak               |    1 +
 contrib/src/upnp/upnp-no-debugfile.patch |   11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/contrib/src/upnp/rules.mak b/contrib/src/upnp/rules.mak
index 00ca94e..f62f008 100644
--- a/contrib/src/upnp/rules.mak
+++ b/contrib/src/upnp/rules.mak
@@ -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
index 0000000..1a0d525
--- /dev/null
+++ b/contrib/src/upnp/upnp-no-debugfile.patch
@@ -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   
+ /* @} */
+ 
+ 



More information about the vlc-commits mailing list