Signed-off-by: Rene Wagner <rw@handhelds.org>
--- /dev/null
+diff -aruN batteryapplet.orig/batterystatus.cpp batteryapplet/batterystatus.cpp
+--- batteryapplet.orig/batterystatus.cpp 2005-06-14 20:14:38.000000000 +0200
++++ batteryapplet/batterystatus.cpp 2006-05-28 23:56:44.000000000 +0200
+@@ -81,11 +81,9 @@
+ }
+ }
+ }
+- } else {
+- QMessageBox::warning(this, tr("Failure"),tr("could not open file"));
++ procApmIpaq.close();
+ }
+
+- procApmIpaq.close();
+ jackPercent = perc2.toInt();
+ ipaqPercent = perc1.toInt();
+
include ${PN}.inc
-PR = "r1"
+PR = "r2"
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/applets/batteryapplet \
${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
- ${HANDHELDS_CVS};tag=${TAG};module=opie/apps"
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/apps \
+ file://iPaq-2.6-batteryapplet.patch;patch=1"