|
| 1 | +This patch fixes building with musl libc |
| 2 | + |
| 3 | +https://github.com/void-linux/void-packages/blob/e3ff6da0aa9f378356cec4184580025ddae771de/srcpkgs/fakeroot/patches/fakeroot-no64.patch |
| 4 | + |
| 5 | +--- a/libfakeroot.c |
| 6 | ++++ b/libfakeroot.c |
| 7 | +@@ -81,12 +81,14 @@ |
| 8 | + #define SEND_STAT64(a,b,c) send_stat64(a,b,c) |
| 9 | + #define SEND_GET_STAT(a,b) send_get_stat(a,b) |
| 10 | + #define SEND_GET_STAT64(a,b) send_get_stat64(a,b) |
| 11 | ++#define SEND_GET_XATTR(a,b,c) send_get_xattr(a,b,c) |
| 12 | + #define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b,c) |
| 13 | + #else |
| 14 | + #define SEND_STAT(a,b,c) send_stat(a,b) |
| 15 | + #define SEND_STAT64(a,b,c) send_stat64(a,b) |
| 16 | + #define SEND_GET_STAT(a,b) send_get_stat(a) |
| 17 | + #define SEND_GET_STAT64(a,b) send_get_stat64(a) |
| 18 | ++#define SEND_GET_XATTR(a,b,c) send_get_xattr(a,b) |
| 19 | + #define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b) |
| 20 | + #endif |
0 commit comments