From f94830d0e5a409b2e2dc30a4e002c180fe09ec4e Mon Sep 17 00:00:00 2001 From: Will Wagner Date: Thu, 1 Apr 2010 11:10:12 +0100 Subject: matchbox: convert to autotools, fix build with start-notification, libxft Signed-off-by: Will Wagner Signed-off-by: Peter Korsgaard --- .../matchbox-panel-0.9.3-index-is-legacy.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/matchbox/matchbox-panel/matchbox-panel-0.9.3-index-is-legacy.patch (limited to 'package/matchbox/matchbox-panel/matchbox-panel-0.9.3-index-is-legacy.patch') diff --git a/package/matchbox/matchbox-panel/matchbox-panel-0.9.3-index-is-legacy.patch b/package/matchbox/matchbox-panel/matchbox-panel-0.9.3-index-is-legacy.patch new file mode 100644 index 000000000..925c326e7 --- /dev/null +++ b/package/matchbox/matchbox-panel/matchbox-panel-0.9.3-index-is-legacy.patch @@ -0,0 +1,20 @@ +Replace the legacy index() with strchr() + +Signed-off-by: Thomas Petazzoni +--- + applets/mb-applet-menu-launcher.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: matchbox-panel-0.9.3/applets/mb-applet-menu-launcher.c +=================================================================== +--- matchbox-panel-0.9.3.orig/applets/mb-applet-menu-launcher.c ++++ matchbox-panel-0.9.3/applets/mb-applet-menu-launcher.c +@@ -280,7 +280,7 @@ + DBG("\tkey %s ", key); + if (*(++p) == '"') { p++; tc = sc; } /* skip "'s */ + val = p; +- while(index(tc,*p) == NULL) ++ while(strchr(tc,*p) == NULL) + { + if (*p == '\\' && *(p+1) == '"') p++; /* skip \" */ + p++; -- cgit v1.2.3