[vlc-devel] [PATCH 1/3] contrib: upnp: don't use a debug file
Steve Lhomme
robux4 at videolabs.io
Fri Jun 10 10:08:01 CEST 2016
send debug logs to stderr
---
contrib/src/upnp/rules.mak | 1 +
contrib/src/upnp/upnp-no-debugfile.patch | 11 +++++++++++
2 files changed, 12 insertions(+)
create mode 100644 contrib/src/upnp/upnp-no-debugfile.patch
diff --git a/contrib/src/upnp/rules.mak b/contrib/src/upnp/rules.mak
index 3eda11a..7bc412c 100644
--- a/contrib/src/upnp/rules.mak
+++ b/contrib/src/upnp/rules.mak
@@ -44,6 +44,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
$(APPLY) $(SRC)/upnp/msvc-snprintf.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
+ /* @} */
+
+
--
2.8.2
More information about the vlc-devel
mailing list