libqpe-opie: fix error in do_patch compilation for cvs version
authorPaul Eggleton <bluelightning@bluelightning.org>
Sat, 30 Aug 2008 15:54:59 +0000 (15:54 +0000)
committerPaul Eggleton <bluelightning@bluelightning.org>
Sat, 30 Aug 2008 15:54:59 +0000 (15:54 +0000)
 * Add citytime-path-2.patch which applies cleanly against current CVS

packages/libqpe/libqpe-opie/citytime-path-2.patch [new file with mode: 0644]
packages/libqpe/libqpe-opie_cvs.bb

diff --git a/packages/libqpe/libqpe-opie/citytime-path-2.patch b/packages/libqpe/libqpe-opie/citytime-path-2.patch
new file mode 100644 (file)
index 0000000..27cb963
--- /dev/null
@@ -0,0 +1,11 @@
+--- library/tzselect.cpp       12 Jan 2008 10:14:42 -0000      1.13
++++ library/tzselect.cpp       30 Aug 2008 15:32:13 -0000
+@@ -270,7 +270,7 @@
+ void TimeZoneSelector::slotExecute( void )
+ {
+   // execute the world time application...
+-    if (QFile::exists(QPEApplication::qpeDir()+"bin/citytime"))
++    if (QFile::exists(OPIE_BINDIR "/citytime"))
+         Global::execute( "citytime" );
+     else
+         QMessageBox::warning(this,tr("citytime executable not found"),
index 0085003..bbeac82 100644 (file)
@@ -1,12 +1,12 @@
 require ${PN}.inc
 
 PV = "${OPIE_CVS_PV}"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "${HANDHELDS_CVS};module=opie/library \
            file://fix-titleheight.patch;patch=1 \
            file://unbreak-logging.patch;patch=1 \
-           file://citytime-path.patch;patch=1 \
+           file://citytime-path-2.patch;patch=1 \
           file://argv.patch;patch=1 \
           "