[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#603871: Build with debugging messages disabled



Package: wv2
Version: 0.4.2.dfsg.1-1
Severity: normal
Tags: patch

By default, wv2 builds with debug logging to stderr enabled, which generates a
*LOT* of output.  If used in a desktop application, this ends up in
.xsession-errors in the user's home directory.

Upstream recommends building packages with debug disabled (see README).

This issue was previously reported and fixed, but has since regressed (probably
when upstream moved to a cmake-based build system, but I haven't checked
that):

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329109

The attached patch fixes this.

Cheers,
    Olly
--- wv2-0.4.2.dfsg.1/debian/rules	2009-11-14 09:46:12.000000000 +1030
+++ wv2-0.4.2.dfsg.1-tweaked/debian/rules	2010-11-17 23:47:37.694185124 +1030
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
 
+CXXFLAGS += -DNDEBUG
+
 %:
 	dh $@

Attachment: signature.asc
Description: Digital signature


Reply to: