diff options
author | Stefan Schmidt <stefan@datenfreihafen.org> | 2008-11-10 15:39:53 +0000 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2008-11-10 15:42:41 +0000 |
commit | 872fae1c4a7236c1e3f940fb057dacc11459f189 (patch) | |
tree | 57351a24fb5f80a34cd4709d5aa5f54be775389c /packages/e17 | |
parent | df7e29eb9f23e4dcf1ce0f23ccc8fd42f1e2796a (diff) |
illume: Add patch to fix segfault on gsm module on FSO.
Diffstat (limited to 'packages/e17')
-rw-r--r-- | packages/e17/illume/gsm-segfault.patch | 28 | ||||
-rw-r--r-- | packages/e17/illume_svn.bb | 5 |
2 files changed, 31 insertions, 2 deletions
diff --git a/packages/e17/illume/gsm-segfault.patch b/packages/e17/illume/gsm-segfault.patch new file mode 100644 index 0000000000..f7bf87a9f1 --- /dev/null +++ b/packages/e17/illume/gsm-segfault.patch @@ -0,0 +1,28 @@ +Index: src/e_mod_gad_gsm.c +=================================================================== +--- src/e_mod_gad_gsm.c (revision 37564) ++++ src/e_mod_gad_gsm.c (working copy) +@@ -353,7 +353,7 @@ + { + /* We care only about the provider name right now. All the other status + * informations get ingnored for the gadget for now */ +- const char *provider, *name, *reg_stat; ++ const char *provider = 0 , *name = 0, *reg_stat = 0; + DBusMessageIter iter, a_iter, s_iter, v_iter; + + if (!dbus_message_has_signature(msg, "a{sv}")) return NULL; +@@ -380,10 +380,13 @@ + dbus_message_iter_next(&a_iter); + } + ++ if (!reg_stat) return NULL; + if (strcmp(reg_stat, "unregistered") == 0) provider = "No Service"; + else if (strcmp(reg_stat, "busy") == 0) provider = "Searching..."; + else if (strcmp(reg_stat, "denied") == 0) provider = "SOS only"; +- ++ ++ if (!provider) return NULL; ++ + return strdup(provider); + } + diff --git a/packages/e17/illume_svn.bb b/packages/e17/illume_svn.bb index 2c1521c813..6c4519bb70 100644 --- a/packages/e17/illume_svn.bb +++ b/packages/e17/illume_svn.bb @@ -4,9 +4,10 @@ AUTHOR = "Carsten 'Rasterman' Haitzler" LICENSE = "MIT/BSD" DEPENDS = "e-wm eet evas ecore edje embryo efreet edbus edje-native embryo-native eet-native" PV = "0.0+svnr${SRCREV}" -PR = "r13" +PR = "r14" -SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk;module=illume;proto=http" +SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk;module=illume;proto=http \ + file://gsm-segfault.patch;patch=1;pnum=0" S = "${WORKDIR}/${PN}" inherit autotools pkgconfig |