summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch')
-rw-r--r--meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch b/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch
new file mode 100644
index 0000000000..4627855a1c
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch
@@ -0,0 +1,47 @@
1When the user has a UID or GID that is larger than the ustar format
2supports, pax does not error out gracefully in some cases (FC13). In
3this case cpio does.
4
5See for more details: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8343
6
7Additionally drop tar.m4 out of that part of the Makefile or we end up in
8a fatal attempt to regen loop:
9
10CDPATH="${ZSH_VERSION+.}:" && cd . && perllibdir="automake-1.11.1/lib:./lib" "automake-1.11.1/aclocal" --acdir=m4 -I m4
11/bin/sh: automake-1.11.1/aclocal: No such file or directory
12make: *** [aclocal.m4] Error 127
13
14Upstream-Status: Pending
15
16Signed-off-by: Tom Rini <tom_rini@mentor.com>
17
18Updated for version 1.11.3:
19Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
20Date: 2011/03/14
21
22Index: automake-1.11.3/m4/tar.m4
23===================================================================
24--- automake-1.11.3.orig/m4/tar.m4 2012-01-31 03:41:18.000000000 -0800
25+++ automake-1.11.3/m4/tar.m4 2012-03-14 17:36:11.901303777 -0700
26@@ -31,7 +31,7 @@ m4_if([$1], [v7],
27 [m4_fatal([Unknown tar format])])
28 AC_MSG_CHECKING([how to create a $1 tar archive])
29 # Loop over all known methods to create a tar archive until one works.
30-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
31+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none'
32 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
33 # Do not fold the above two line into one, because Tru64 sh and
34 # Solaris sh will not grok spaces in the rhs of `-'.
35Index: automake-1.11.3/Makefile.in
36===================================================================
37--- automake-1.11.3.orig/Makefile.in 2012-02-01 02:37:59.000000000 -0800
38+++ automake-1.11.3/Makefile.in 2012-03-14 17:38:03.530869197 -0700
39@@ -62,7 +62,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
40 $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
41 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/silent.m4 \
42 $(top_srcdir)/m4/strip.m4 $(top_srcdir)/m4/substnot.m4 \
43- $(top_srcdir)/m4/tar.m4 $(top_srcdir)/configure.ac
44+ $(top_srcdir)/configure.ac
45 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
46 $(ACLOCAL_M4)
47 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \