rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | Upstream-Status: Inappropriate [licensing] |
2 | |||||
3 | # Avoid multiple stat definitions | ||||
4 | # Patch taken from cpio mailing list posting 2010-03-19 | ||||
5 | |||||
6 | diff -urN cpio-2.11.orig/src/filetypes.h cpio-2.11/src/filetypes.h | ||||
7 | --- cpio-2.11.orig/src/filetypes.h 2010-02-12 02:19:23.000000000 -0800 | ||||
8 | +++ cpio-2.11/src/filetypes.h 2010-07-23 13:17:25.000000000 -0700 | ||||
9 | @@ -82,4 +82,6 @@ | ||||
10 | #define lstat stat | ||||
11 | #endif | ||||
12 | int lstat (); | ||||
13 | +#ifndef stat | ||||
14 | int stat (); | ||||
15 | +#endif |