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.patch41
1 files changed, 41 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..083547a35b
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch
@@ -0,0 +1,41 @@
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
14Signed-off-by: Tom Rini <tom_rini@mentor.com>
15
16Index: automake-1.11.1/m4/tar.m4
17===================================================================
18--- automake-1.11.1.orig/m4/tar.m4
19+++ automake-1.11.1/m4/tar.m4
20@@ -30,7 +30,7 @@ m4_if([$1], [v7],
21 [m4_fatal([Unknown tar format])])
22 AC_MSG_CHECKING([how to create a $1 tar archive])
23 # Loop over all known methods to create a tar archive until one works.
24-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
25+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none'
26 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
27 # Do not fold the above two line into one, because Tru64 sh and
28 # Solaris sh will not grok spaces in the rhs of `-'.
29Index: automake-1.11.1/Makefile.in
30===================================================================
31--- automake-1.11.1.orig/Makefile.in
32+++ automake-1.11.1/Makefile.in
33@@ -44,7 +44,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
34 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
35 $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
36 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
37- $(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
38+ $(top_srcdir)/m4/substnot.m4 \
39 $(top_srcdir)/configure.ac
40 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
41 $(ACLOCAL_M4)