summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/libopie/libopie2/gcc-syntax-fix.patch13
-rw-r--r--packages/libopie/libopie2_1.2.3.bb3
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/libopie/libopie2/gcc-syntax-fix.patch b/packages/libopie/libopie2/gcc-syntax-fix.patch
new file mode 100644
index 0000000000..12b64d7d37
--- /dev/null
+++ b/packages/libopie/libopie2/gcc-syntax-fix.patch
@@ -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();
+
+
diff --git a/packages/libopie/libopie2_1.2.3.bb b/packages/libopie/libopie2_1.2.3.bb
index b03f61c732..cf350d2569 100644
--- a/packages/libopie/libopie2_1.2.3.bb
+++ b/packages/libopie/libopie2_1.2.3.bb
@@ -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"