aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-01-07 08:30:13 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2011-01-10 16:22:19 +0100
commitd3fdc5bf14cad7684c6082d723a1f113feae9a6b (patch)
treedab854cf3732b9a693510578e55e0bd79a544dea
parentf3b77424a8568acd0e5563c080384bbcfce80bc4 (diff)
downloadopenembedded-d3fdc5bf14cad7684c6082d723a1f113feae9a6b.zip
openembedded-d3fdc5bf14cad7684c6082d723a1f113feae9a6b.tar.gz
openembedded-d3fdc5bf14cad7684c6082d723a1f113feae9a6b.tar.bz2
iliwi: add patch to build with newer EFL
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes/openmoko-3rdparty/iliwi/0001-adapt-to-elementary-genlist_item_insert_before-API-c.patch29
-rw-r--r--recipes/openmoko-3rdparty/iliwi_git.bb3
2 files changed, 31 insertions, 1 deletions
diff --git a/recipes/openmoko-3rdparty/iliwi/0001-adapt-to-elementary-genlist_item_insert_before-API-c.patch b/recipes/openmoko-3rdparty/iliwi/0001-adapt-to-elementary-genlist_item_insert_before-API-c.patch
new file mode 100644
index 0000000..7b16182
--- /dev/null
+++ b/recipes/openmoko-3rdparty/iliwi/0001-adapt-to-elementary-genlist_item_insert_before-API-c.patch
@@ -0,0 +1,29 @@
+From d1ad5f7b4e0bd96f7085392dcc9c9e7edc32d940 Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa@gmail.com>
+Date: Fri, 7 Jan 2011 08:24:27 +0100
+Subject: [PATCH] adapt to elementary genlist_item_insert_before API change from r55869
+
+---
+ src/view_main.vala | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/view_main.vala b/src/view_main.vala
+index 2aafdcc..03f561e 100644
+--- a/src/view_main.vala
++++ b/src/view_main.vala
+@@ -151,10 +151,10 @@ namespace iliwi.View {
+ while(found_place == false) {
+ if( network.preferred_network && list_network.preferred_network==false ) {
+ found_place = true;
+- network.listitem = wifilist.item_insert_before( itc, (void*)network, listitem_tmp, Elm.GenlistItemFlags.NONE, item_select );
++ network.listitem = wifilist.item_insert_before( itc, (void*)network, listitem_tmp, null, Elm.GenlistItemFlags.NONE, item_select );
+ } else if( list_network.preferred_network==network.preferred_network && list_network.strength<=network.strength ) {
+ found_place = true;
+- network.listitem = wifilist.item_insert_before( itc, (void*)network, listitem_tmp, Elm.GenlistItemFlags.NONE, item_select );
++ network.listitem = wifilist.item_insert_before( itc, (void*)network, listitem_tmp, null, Elm.GenlistItemFlags.NONE, item_select );
+ } else { // Couldn't find a place to put it
+ listitem_tmp2 = listitem_tmp.next_get();
+ listitem_tmp = listitem_tmp2;
+--
+1.7.4.rc1
+
diff --git a/recipes/openmoko-3rdparty/iliwi_git.bb b/recipes/openmoko-3rdparty/iliwi_git.bb
index 0057e49..6818b90 100644
--- a/recipes/openmoko-3rdparty/iliwi_git.bb
+++ b/recipes/openmoko-3rdparty/iliwi_git.bb
@@ -8,9 +8,10 @@ RDEPENDS_${PN} = "wireless-tools wpa-supplicant"
SRCREV = "fcd77fada06f6373b0fb5771f78aaa9dcaa97036"
PV = "0.0.1+gitr${SRCPV}"
-PR = "r9"
+PR = "r10"
SRC_URI = "git://github.com/Ebbe/Iliwi.git;protocol=http;branch=master \
+ file://0001-adapt-to-elementary-genlist_item_insert_before-API-c.patch \
file://new.vala.patch"
S = "${WORKDIR}/git"