libopie2 1.2.3: syntax fix for newer gcc
authorMichael Krelin <hacker@klever.net>
Fri, 26 Oct 2007 09:37:59 +0000 (09:37 +0000)
committerMichael Krelin <hacker@klever.net>
Fri, 26 Oct 2007 09:37:59 +0000 (09:37 +0000)
packages/libopie/libopie2/gcc-syntax-fix.patch [new file with mode: 0644]
packages/libopie/libopie2_1.2.3.bb

diff --git a/packages/libopie/libopie2/gcc-syntax-fix.patch b/packages/libopie/libopie2/gcc-syntax-fix.patch
new file mode 100644 (file)
index 0000000..12b64d7
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/opiedb/osqldriver.h b/opiedb/osqldriver.h
+index 492b8dd..29fbfd6 100644
+--- a/opiedb/osqldriver.h
++++ b/opiedb/osqldriver.h
+@@ -77,7 +77,7 @@ public:
+     /**
+      * Get a list of tables
+      */
+-    virtual OSQLTable::ValueList tables() const = 0l;
++    virtual OSQLTable::ValueList tables() const = 0;
+     virtual bool sync();
index b03f61c..cf350d2 100644 (file)
@@ -3,6 +3,7 @@ require ${PN}.inc
 PR = "r0"
 
 SRC_URI = "${HANDHELDS_CVS};module=opie/libopie2 \
-           file://include.pro"
+           file://include.pro \
+          file://gcc-syntax-fix.patch;patch=1"
 
 SRC_URI_append_poodle = " file://poodle-2.6-hotkeys.patch;patch=1"