diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
| commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
| tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-extended/findutils/findutils-4.2.31 | |
| parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
| download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz | |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/findutils/findutils-4.2.31')
| -rw-r--r-- | meta/recipes-extended/findutils/findutils-4.2.31/gnulib-extension.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-extended/findutils/findutils-4.2.31/gnulib-extension.patch b/meta/recipes-extended/findutils/findutils-4.2.31/gnulib-extension.patch new file mode 100644 index 0000000000..2bc54e9290 --- /dev/null +++ b/meta/recipes-extended/findutils/findutils-4.2.31/gnulib-extension.patch | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | the old AC_USE_SYSTEM_EXTENSIONS won't work with AC_GNU_SOURCE | ||
| 2 | |||
| 3 | against 4.2.31 | ||
| 4 | 07/08/2010 - qhe | ||
| 5 | |||
| 6 | diff --git a/gnulib/m4/extensions.m4 b/gnulib/m4/extensions.m4 | ||
| 7 | index 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, | ||
