diff options
author | Scott Garman <scott.a.garman@intel.com> | 2010-09-25 20:37:20 -0700 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-09-27 09:08:38 -0700 |
commit | 928e6ca664ce464fe602e196e1f392c497f22d8d (patch) | |
tree | 827a2d38edec44f9eacac7b933c58ffc20ade9d4 /meta/recipes-extended/cpio/cpio-2.11/statdef.patch | |
parent | 661e864a03235b4d4d302d5aacc67469bdf4342d (diff) | |
download | poky-928e6ca664ce464fe602e196e1f392c497f22d8d.tar.gz |
cpio: add version 2.11 (GPLv3)
This is the most recent version of cpio. Recipe derived from
OpenEmbedded's recipe for cpio v2.5.
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-extended/cpio/cpio-2.11/statdef.patch')
-rw-r--r-- | meta/recipes-extended/cpio/cpio-2.11/statdef.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-extended/cpio/cpio-2.11/statdef.patch b/meta/recipes-extended/cpio/cpio-2.11/statdef.patch new file mode 100644 index 0000000000..dfa0d9150a --- /dev/null +++ b/meta/recipes-extended/cpio/cpio-2.11/statdef.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | # Avoid multiple stat definitions | ||
2 | # Patch taken from cpio mailing list posting 2010-03-19 | ||
3 | |||
4 | diff -urN cpio-2.11.orig/src/filetypes.h cpio-2.11/src/filetypes.h | ||
5 | --- cpio-2.11.orig/src/filetypes.h 2010-02-12 02:19:23.000000000 -0800 | ||
6 | +++ cpio-2.11/src/filetypes.h 2010-07-23 13:17:25.000000000 -0700 | ||
7 | @@ -82,4 +82,6 @@ | ||
8 | #define lstat stat | ||
9 | #endif | ||
10 | int lstat (); | ||
11 | +#ifndef stat | ||
12 | int stat (); | ||
13 | +#endif | ||