summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2008-11-15 17:01:18 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2008-11-15 17:01:18 +0000
commit37eaf01d8cb40b66e913205e5ef56471e2b6dc16 (patch)
tree716aba9b736a058d603ef28b9901eb894f941962
parent7de244d8039430707d0ec4c2fb5812861c5f0b84 (diff)
e-wm: Apply patch former in the illumeeeeee package
-rw-r--r--packages/e17/e-wm/gsm-segfault-fix.patch28
-rw-r--r--packages/e17/e-wm_svn.bb1
2 files changed, 29 insertions, 0 deletions
diff --git a/packages/e17/e-wm/gsm-segfault-fix.patch b/packages/e17/e-wm/gsm-segfault-fix.patch
new file mode 100644
index 0000000000..0bed84a26e
--- /dev/null
+++ b/packages/e17/e-wm/gsm-segfault-fix.patch
@@ -0,0 +1,28 @@
+Index: e/src/modules/illume/e_mod_gad_gsm.c
+===================================================================
+--- e/src/modules/illume/e_mod_gad_gsm.c (revision 37617)
++++ e/src/modules/illume/e_mod_gad_gsm.c (revision 37618)
+@@ -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/e-wm_svn.bb b/packages/e17/e-wm_svn.bb
index a2fabc7840..3dee2ffd79 100644
--- a/packages/e17/e-wm_svn.bb
+++ b/packages/e17/e-wm_svn.bb
@@ -52,6 +52,7 @@ SRC_URI = "\
svn://svn.enlightenment.org/svn/e/trunk;module=e;proto=http \
file://enlightenment_start.oe \
file://applications.menu \
+ file://gsm-segfault-fix.patch;patch=1;maxrev=37617 \
"
S = "${WORKDIR}/e"