summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.20.0/busybox-1.20.0-find.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-05-19 06:57:36 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-19 20:55:40 +0200
commit55547775aafdca5fced4e0d4f530ae3093b7209c (patch)
treef6ba9d1a8156d33f3f1b4833cd01f96cbcefb96e /package/busybox/busybox-1.20.0/busybox-1.20.0-find.patch
parent920544e02b7e050d0160574803167c1c0a36f1cf (diff)
downloadbuildroot-novena-55547775aafdca5fced4e0d4f530ae3093b7209c.tar.gz
buildroot-novena-55547775aafdca5fced4e0d4f530ae3093b7209c.zip
busybox: add 1.20.0 patches for find and volume_id
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.20.0/busybox-1.20.0-find.patch')
-rw-r--r--package/busybox/busybox-1.20.0/busybox-1.20.0-find.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.20.0/busybox-1.20.0-find.patch b/package/busybox/busybox-1.20.0/busybox-1.20.0-find.patch
new file mode 100644
index 000000000..f913cda1b
--- /dev/null
+++ b/package/busybox/busybox-1.20.0/busybox-1.20.0-find.patch
@@ -0,0 +1,33 @@
+--- busybox-1.20.0/findutils/find.c
++++ busybox-1.20.0-find/findutils/find.c
+@@ -831,6 +831,11 @@ static action*** parse_params(char **arg
+ PARM_name ,
+ PARM_iname ,
+ IF_FEATURE_FIND_PATH( PARM_path ,)
++#if ENABLE_DESKTOP
++ /* -wholename is a synonym for -path */
++ /* We support it because Linux kernel's "make tags" uses it */
++ IF_FEATURE_FIND_PATH( PARM_wholename ,)
++#endif
+ IF_FEATURE_FIND_PATH( PARM_ipath ,)
+ IF_FEATURE_FIND_REGEX( PARM_regex ,)
+ IF_FEATURE_FIND_TYPE( PARM_type ,)
+@@ -869,6 +874,9 @@ static action*** parse_params(char **arg
+ "-name\0"
+ "-iname\0"
+ IF_FEATURE_FIND_PATH( "-path\0" )
++#if ENABLE_DESKTOP
++ IF_FEATURE_FIND_PATH( "-wholename\0")
++#endif
+ IF_FEATURE_FIND_PATH( "-ipath\0" )
+ IF_FEATURE_FIND_REGEX( "-regex\0" )
+ IF_FEATURE_FIND_TYPE( "-type\0" )
+@@ -1076,7 +1084,7 @@ static action*** parse_params(char **arg
+ ap->iname = (parm == PARM_iname);
+ }
+ #if ENABLE_FEATURE_FIND_PATH
+- else if (parm == PARM_path || parm == PARM_ipath) {
++ else if (parm == PARM_path IF_DESKTOP(|| parm == PARM_wholename) || parm == PARM_ipath) {
+ action_path *ap;
+ dbg("%d", __LINE__);
+ ap = ALLOC_ACTION(path);