From 55d65275800bafcba628ecec9af25747354781b1 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 3 May 2007 12:09:21 +0000 Subject: libqpe-opie cvs: Unbreak logging. * Again, it's bad idea to randomly disable some logging sources based on obscure compile-time defines (QT_DEBUG is not mentioned in qte-2.3.10, so how could it get such name at all?). OE OPIE is going to have logging facility helping to resolve issues, not obfuscate them. --- packages/libqpe/libqpe-opie/unbreak-logging.patch | 21 +++++++++++++++++++++ packages/libqpe/libqpe-opie_cvs.bb | 6 ++++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 packages/libqpe/libqpe-opie/unbreak-logging.patch diff --git a/packages/libqpe/libqpe-opie/unbreak-logging.patch b/packages/libqpe/libqpe-opie/unbreak-logging.patch new file mode 100644 index 0000000000..fedd73be35 --- /dev/null +++ b/packages/libqpe/libqpe-opie/unbreak-logging.patch @@ -0,0 +1,21 @@ +--- library/qpeapplication.cpp.org 2007-01-24 19:54:07.000000000 +0000 ++++ library/qpeapplication.cpp 2007-05-03 03:34:10.000000000 +0000 +@@ -792,14 +792,14 @@ + { + switch ( type ) { + case QtDebugMsg: +-#ifdef QT_DEBUG ++//#ifdef QT_DEBUG + fprintf( stderr, "Debug: %s\n", msg ); +-#endif ++//#endif + break; + case QtWarningMsg: +-#ifdef QT_DEBUG ++//#ifdef QT_DEBUG + fprintf( stderr, "Warning: %s\n", msg ); +-#endif ++//#endif + break; + case QtFatalMsg: + fprintf( stderr, "Fatal: %s\n", msg ); diff --git a/packages/libqpe/libqpe-opie_cvs.bb b/packages/libqpe/libqpe-opie_cvs.bb index 7a6cda7b9b..0debaa004f 100644 --- a/packages/libqpe/libqpe-opie_cvs.bb +++ b/packages/libqpe/libqpe-opie_cvs.bb @@ -1,8 +1,10 @@ require ${PN}.inc PV = "1.2.2+cvs${SRCDATE}" -PR = "r7" +PR = "r8" SRC_URI = "${HANDHELDS_CVS};module=opie/library \ - file://fix-titleheight.patch;patch=1" + file://fix-titleheight.patch;patch=1 \ + file://unbreak-logging.patch;patch=1 \ + " -- cgit v1.2.3