diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-05-03 12:09:21 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-05-03 12:09:21 +0000 |
commit | 55d65275800bafcba628ecec9af25747354781b1 (patch) | |
tree | 3dbb7e22ea459cf8fb845e52c0255e68d1470f05 | |
parent | 9cf71188644819ad8afd300ad2a32b8661a71c6f (diff) |
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.
-rw-r--r-- | packages/libqpe/libqpe-opie/unbreak-logging.patch | 21 | ||||
-rw-r--r-- | packages/libqpe/libqpe-opie_cvs.bb | 6 |
2 files changed, 25 insertions, 2 deletions
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 \ + " |