aboutsummaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/fix-null-string-to-variant-crash.patch19
-rw-r--r--debian/patches/series1
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/fix-null-string-to-variant-crash.patch b/debian/patches/fix-null-string-to-variant-crash.patch
new file mode 100644
index 0000000..ebcad4c
--- /dev/null
+++ b/debian/patches/fix-null-string-to-variant-crash.patch
@@ -0,0 +1,19 @@
+=== modified file 'src/application-service-appstore.c'
+Index: indicator-application.ubu/src/application-service-appstore.c
+===================================================================
+--- indicator-application.ubu.orig/src/application-service-appstore.c 2011-02-25 08:50:32.170749000 -0500
++++ indicator-application.ubu/src/application-service-appstore.c 2011-02-25 08:53:26.313552982 -0500
+@@ -1238,9 +1238,10 @@
+ }
+
+ g_variant_builder_add (&builder, "(sisossss)", app->icon,
+- position++, app->dbus_name, app->menu,
+- app->icon_theme_path, app->label,
+- app->guide, app->icon_desc);
++ position++, app->dbus_name, app->menu,
++ app->icon_theme_path, app->label,
++ app->guide,
++ (app->icon_desc != NULL) ? app->icon_desc : "");
+ }
+
+ out = g_variant_builder_end(&builder);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8d2cb6b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-null-string-to-variant-crash.patch