diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-06-03 22:41:30 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-06-09 23:02:31 +0200 |
commit | 3b468acbb4ec2aca748fc022ff0d53a530b3264b (patch) | |
tree | 08f312289bb132bcb62d974852dc3d66529f873b /package/matchbox-panel/0001-index-is-legacy.patch | |
parent | 390ef4ebb441c263f16572e458c71bde35d01c58 (diff) | |
download | buildroot-3b468acbb4ec2aca748fc022ff0d53a530b3264b.tar.gz buildroot-3b468acbb4ec2aca748fc022ff0d53a530b3264b.zip |
package/matchbox-common: move one directory higher
We usually do not have a sub-directory for a family of related
packages, so move matchbox packages one directory higher, so they
all are in packages/
Also re-order packages alphabetically.
Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/matchbox-panel/0001-index-is-legacy.patch')
-rw-r--r-- | package/matchbox-panel/0001-index-is-legacy.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/matchbox-panel/0001-index-is-legacy.patch b/package/matchbox-panel/0001-index-is-legacy.patch new file mode 100644 index 0000000000..925c326e71 --- /dev/null +++ b/package/matchbox-panel/0001-index-is-legacy.patch @@ -0,0 +1,20 @@ +Replace the legacy index() with strchr() + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +--- + 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++; |