diff options
Diffstat (limited to 'meta/recipes-extended/cpio')
-rw-r--r-- | meta/recipes-extended/cpio/cpio-2.11/statdef.patch | 13 | ||||
-rw-r--r-- | meta/recipes-extended/cpio/cpio_2.11.bb | 9 |
2 files changed, 22 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 | ||
diff --git a/meta/recipes-extended/cpio/cpio_2.11.bb b/meta/recipes-extended/cpio/cpio_2.11.bb new file mode 100644 index 0000000000..1948b618a1 --- /dev/null +++ b/meta/recipes-extended/cpio/cpio_2.11.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | include cpio_v2.inc | ||
2 | |||
3 | LICENSE = "GPLv3" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" | ||
5 | |||
6 | PR = "r0" | ||
7 | |||
8 | SRC_URI[md5sum] = "20fc912915c629e809f80b96b2e75d7d" | ||
9 | SRC_URI[sha256sum] = "bb820bfd96e74fc6ce43104f06fe733178517e7f5d1cdee553773e8eff7d5bbd" | ||