summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2007-10-26 09:37:59 +0000
committerMichael Krelin <hacker@klever.net>2007-10-26 09:37:59 +0000
commit7e6287c07b304f3feed2713d19e2d2435da4428a (patch)
treec05f2ca47ba21888a3ed46790542e73a39060d11
parent01baa7459538554d4ec2a84f0242c8dd84cbe347 (diff)
libopie2 1.2.3: syntax fix for newer gcc
-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"