diff options
author | Scott Garman <sgarman@zenlinux.com> | 2010-08-16 18:55:33 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 13:04:38 +0100 |
commit | 8927e93ccd188b43354132f94ed8cf34bba729c9 (patch) | |
tree | 928668d84b17ea9a2927070e0e2caba0a4bb6c53 /meta/packages/cpio/cpio-2.8 | |
parent | 7c301b9640f46ab0f9b8a723f4b4eba6d630c7a4 (diff) | |
download | openembedded-core-8927e93ccd188b43354132f94ed8cf34bba729c9.tar.gz openembedded-core-8927e93ccd188b43354132f94ed8cf34bba729c9.tar.bz2 openembedded-core-8927e93ccd188b43354132f94ed8cf34bba729c9.tar.xz openembedded-core-8927e93ccd188b43354132f94ed8cf34bba729c9.zip |
cpio: new recipe v2.8
This is the last GPLv2 version of cpio. The recipe was derived from
OE's v2.5 one.
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/packages/cpio/cpio-2.8')
-rw-r--r-- | meta/packages/cpio/cpio-2.8/m4extensions.patch | 29 | ||||
-rw-r--r-- | meta/packages/cpio/cpio-2.8/statdef.patch | 13 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta/packages/cpio/cpio-2.8/m4extensions.patch b/meta/packages/cpio/cpio-2.8/m4extensions.patch new file mode 100644 index 000000000..648c725bb --- /dev/null +++ b/meta/packages/cpio/cpio-2.8/m4extensions.patch @@ -0,0 +1,29 @@ +# Define AC_USE_SYSTEM_EXTENSIONS only if it was previously undefined. +# This is needed to configure correctly with newer versions of autoconf. + +diff -urN cpio-2.8.orig/m4/extensions.m4 cpio-2.8/m4/extensions.m4 +--- cpio-2.8.orig/m4/extensions.m4 2006-10-12 04:34:45.000000000 -0700 ++++ cpio-2.8/m4/extensions.m4 2010-07-23 14:37:36.000000000 -0700 +@@ -1,4 +1,4 @@ +-# serial 4 -*- Autoconf -*- ++# serial 5 -*- Autoconf -*- + # Enable extensions on systems that normally disable them. + + # Copyright (C) 2003, 2006 Free Software Foundation, Inc. +@@ -16,6 +16,7 @@ + # ------------------------ + # Enable extensions on systems that normally disable them, + # typically due to standards-conformance issues. ++m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [], [ + AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS], + [ + AC_BEFORE([$0], [AC_COMPILE_IFELSE]) +@@ -48,7 +49,7 @@ + AC_DEFINE([__EXTENSIONS__]) + AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) + AC_DEFINE([_TANDEM_SOURCE]) +-]) ++])]) + + # gl_USE_SYSTEM_EXTENSIONS + # ------------------------ diff --git a/meta/packages/cpio/cpio-2.8/statdef.patch b/meta/packages/cpio/cpio-2.8/statdef.patch new file mode 100644 index 000000000..dfa0d9150 --- /dev/null +++ b/meta/packages/cpio/cpio-2.8/statdef.patch @@ -0,0 +1,13 @@ +# Avoid multiple stat definitions +# Patch taken from cpio mailing list posting 2010-03-19 + +diff -urN cpio-2.11.orig/src/filetypes.h cpio-2.11/src/filetypes.h +--- cpio-2.11.orig/src/filetypes.h 2010-02-12 02:19:23.000000000 -0800 ++++ cpio-2.11/src/filetypes.h 2010-07-23 13:17:25.000000000 -0700 +@@ -82,4 +82,6 @@ + #define lstat stat + #endif + int lstat (); ++#ifndef stat + int stat (); ++#endif |