aboutsummaryrefslogtreecommitdiffstats
path: root/meta/packages/findutils/findutils-4.4.2/03-28872.patch
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2010-07-08 13:46:40 +0800
committerSaul Wold <Saul.Wold@intel.com>2010-07-08 21:10:59 -0700
commit62136a869a56d4ad2b61fec2b8bbd23626433056 (patch)
treea97e878e8af65f9d231dd93b4bcbb24921fd9cea /meta/packages/findutils/findutils-4.4.2/03-28872.patch
parent90ceeff2587c932f9d998ccf05f01c01300f3268 (diff)
downloadopenembedded-core-62136a869a56d4ad2b61fec2b8bbd23626433056.tar.gz
findutils: upgrade to version 4.2.31 and 4.4.2
from 4.2.29 4.2.31 is the last known GPL2 version changes for 4.4: - pulled upstream patch to fix bug #27017, #28824 and #28872 - using a workaround to address bug #27299, this was fixed in development branch 4.5.3 by using a new version of gnulib. however, upgrading gnulib needs too much effort here. changes for 4.2: - 4.2.31's gnulib/m4/extension.m4 won't work with autoconf 2.65, fix it by removing gnulib's AC_USE_SYSTEM_EXTENSIONS Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages/findutils/findutils-4.4.2/03-28872.patch')
-rw-r--r--meta/packages/findutils/findutils-4.4.2/03-28872.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/packages/findutils/findutils-4.4.2/03-28872.patch b/meta/packages/findutils/findutils-4.4.2/03-28872.patch
new file mode 100644
index 0000000000..8bede38920
--- /dev/null
+++ b/meta/packages/findutils/findutils-4.4.2/03-28872.patch
@@ -0,0 +1,56 @@
+commit 5f5eb921765794e8fc58c4bdffa2daa2ae34800f
+Author: James Youngman <jay@gnu.org>
+Date: Sat Feb 20 19:53:13 2010 +0000
+
+ Fix Savannah bug#28872, Mistake in "Problems with -exec and filenames"
+
+ * doc/find.texi (Problems with -exec and filenames): Add missing
+ $0 argument in example for sh -c 'something "$@" sh ...
+ * NEWS: Mention this change.
+
+ Signed-off-by: James Youngman <jay@gnu.org>
+
+diff --git a/ChangeLog b/ChangeLog
+index 13539a4..e94ba96 100644
+--- a/ChangeLog
++++ b/ChangeLog
+@@ -1,5 +1,10 @@
+ 2010-02-20 James Youngman <jay@gnu.org>
+
++ Fix Savannah bug#28872, Mistake in "Problems with -exec and filenames"
++ * doc/find.texi (Problems with -exec and filenames): Add missing
++ $0 argument in example for sh -c 'something "$@" sh ...
++ * NEWS: Mention this change.
++
+ Fix Savannah bug# 28824: "-ctime x" yields "missing argument to
+ `-ctime'".
+ * find/parser.c (parse_fls): If the argument is invalid, reverse
+diff --git a/NEWS b/NEWS
+index 4e910df..4c97be9 100644
+--- a/NEWS
++++ b/NEWS
+@@ -4,6 +4,9 @@ GNU findutils NEWS - User visible changes. -*- outline -*- (allout)
+
+ ** Bug Fixes
+
++#28872: Mistake in "#safer" example in "Problems with -exec and
++ filenames" section of the Texinfo manual.
++
+ #28824: Corrected error message for "-ctime x".
+ Likewise for -gid, -inum, -links, -mmin, -cmin, -amin,
+ -uid, -used, -atime, -mtime, -ctime.
+diff --git a/doc/find.texi b/doc/find.texi
+index 2e5958d..391ffa0 100644
+--- a/doc/find.texi
++++ b/doc/find.texi
+@@ -4830,8 +4830,8 @@ problem:
+
+ @example
+ # safer
+-find -exec sh -c 'something "$@@"' @{@} \;
+-find -execdir sh -c 'something "$@@"' @{@}\;
++find -exec sh -c 'something "$@@"' sh @{@} \;
++find -execdir sh -c 'something "$@@"' sh @{@}\;
+ @end example
+
+ This approach is not guaranteed to avoid every problem, but it is much