summaryrefslogtreecommitdiffstats
path: root/meta/packages/findutils/findutils-4.2.31
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/findutils/findutils-4.2.31')
-rw-r--r--meta/packages/findutils/findutils-4.2.31/gnulib-extension.patch54
-rw-r--r--meta/packages/findutils/findutils-4.2.31/mkdir.patch26
2 files changed, 80 insertions, 0 deletions
diff --git a/meta/packages/findutils/findutils-4.2.31/gnulib-extension.patch b/meta/packages/findutils/findutils-4.2.31/gnulib-extension.patch
new file mode 100644
index 0000000000..2bc54e9290
--- /dev/null
+++ b/meta/packages/findutils/findutils-4.2.31/gnulib-extension.patch
@@ -0,0 +1,54 @@
1the old AC_USE_SYSTEM_EXTENSIONS won't work with AC_GNU_SOURCE
2
3against 4.2.31
407/08/2010 - qhe
5
6diff --git a/gnulib/m4/extensions.m4 b/gnulib/m4/extensions.m4
7index 143a9e5..0f27ceb 100644
8--- a/gnulib/m4/extensions.m4
9+++ b/gnulib/m4/extensions.m4
10@@ -12,44 +12,6 @@
11 # enough in this area it's likely we'll need to redefine
12 # AC_USE_SYSTEM_EXTENSIONS for quite some time.
13
14-# AC_USE_SYSTEM_EXTENSIONS
15-# ------------------------
16-# Enable extensions on systems that normally disable them,
17-# typically due to standards-conformance issues.
18-AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
19-[
20- AC_BEFORE([$0], [AC_COMPILE_IFELSE])
21- AC_BEFORE([$0], [AC_RUN_IFELSE])
22-
23- AC_REQUIRE([AC_GNU_SOURCE])
24- AC_REQUIRE([AC_AIX])
25- AC_REQUIRE([AC_MINIX])
26-
27- AH_VERBATIM([__EXTENSIONS__],
28-[/* Enable extensions on Solaris. */
29-#ifndef __EXTENSIONS__
30-# undef __EXTENSIONS__
31-#endif
32-#ifndef _POSIX_PTHREAD_SEMANTICS
33-# undef _POSIX_PTHREAD_SEMANTICS
34-#endif
35-#ifndef _TANDEM_SOURCE
36-# undef _TANDEM_SOURCE
37-#endif])
38- AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__],
39- [ac_cv_safe_to_define___extensions__],
40- [AC_COMPILE_IFELSE(
41- [AC_LANG_PROGRAM([
42-# define __EXTENSIONS__ 1
43- AC_INCLUDES_DEFAULT])],
44- [ac_cv_safe_to_define___extensions__=yes],
45- [ac_cv_safe_to_define___extensions__=no])])
46- test $ac_cv_safe_to_define___extensions__ = yes &&
47- AC_DEFINE([__EXTENSIONS__])
48- AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
49- AC_DEFINE([_TANDEM_SOURCE])
50-])
51-
52 # gl_USE_SYSTEM_EXTENSIONS
53 # ------------------------
54 # Enable extensions on systems that normally disable them,
diff --git a/meta/packages/findutils/findutils-4.2.31/mkdir.patch b/meta/packages/findutils/findutils-4.2.31/mkdir.patch
new file mode 100644
index 0000000000..98ffbd2e72
--- /dev/null
+++ b/meta/packages/findutils/findutils-4.2.31/mkdir.patch
@@ -0,0 +1,26 @@
1Index: findutils-4.2.29/configure.in
2===================================================================
3--- findutils-4.2.29.orig/configure.in 2006-11-25 18:06:00.000000000 +0000
4+++ findutils-4.2.29/configure.in 2009-08-19 18:01:06.000000000 +0100
5@@ -209,6 +209,8 @@
6 dnl Hence they need to know if they are being compiled into findutils or not.
7 AC_DEFINE([FINDUTILS], 1, [Define if we are compiling GNU findutils])
8
9+MKINSTALLDIRS="mkdir -p"
10+AC_SUBST(MKINSTALLDIRS)
11
12 # This is necessary so that .o files in LIBOBJS are also built via
13 # the ANSI2KNR-filtering rules.
14Index: findutils-4.2.29/po/Makefile.in.in
15===================================================================
16--- findutils-4.2.29.orig/po/Makefile.in.in 2009-08-19 18:05:47.000000000 +0100
17+++ findutils-4.2.29/po/Makefile.in.in 2009-08-19 18:05:58.000000000 +0100
18@@ -30,7 +30,7 @@
19 INSTALL = @INSTALL@
20 INSTALL_DATA = @INSTALL_DATA@
21 MKINSTALLDIRS = @MKINSTALLDIRS@
22-mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
23+mkinstalldirs = $(MKINSTALLDIRS)
24
25 GMSGFMT = @GMSGFMT@
26 MSGFMT = @MSGFMT@