--- /dev/null
+Index: midpath-0.3rc2/components/core/src/org/thenesis/midpath/io/backend/j2se/FileHandlerImpl.java
+===================================================================
+--- midpath-0.3rc2.orig/components/core/src/org/thenesis/midpath/io/backend/j2se/FileHandlerImpl.java 2008-12-04 21:10:39.000000000 +0100
++++ midpath-0.3rc2/components/core/src/org/thenesis/midpath/io/backend/j2se/FileHandlerImpl.java 2008-12-04 21:12:11.000000000 +0100
+@@ -182,7 +182,7 @@
+ public void openForRead() throws IOException {\r
+ if (randomAccessFile == null) {\r
+ //stream = new FileRandomAccessStream(file);\r
+- randomAccessFile = new RandomAccessFile(file, "rws");\r
++ randomAccessFile = new RandomAccessFile(file, "r");\r
+ }\r
+ }\r
+ \r
DESCRIPTION = "MIDPath is a Java library which provides a MIDP2 implementation"
-PR = "r0"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
require midpath-common.inc
SRC_URI += "\
+ file://fix-openfile.patch;patch=1 \
file://midpath-suitemanager \
file://midpath-launcher-j2se \
file://midpath-suitemanager.desktop \