aports/testing/fakeroot-tcp/fakeroot-no64.patch
Raymond Page 425f2d6f8a testing/fakeroot-tcp: new aport
https://packages.debian.org/fakeroot
Gives a fake root environment, useful for building packages as a non-privileged user

This package is identical to fakeroot adding configure --with-ipc=tcp.
It provides 'fakeroot' on systems without sysvipc message queues, such as WSL1.
2020-06-17 21:44:43 +00:00

18 lines
618 B
Diff

--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -81,12 +81,14 @@
#define SEND_STAT64(a,b,c) send_stat64(a,b,c)
#define SEND_GET_STAT(a,b) send_get_stat(a,b)
#define SEND_GET_STAT64(a,b) send_get_stat64(a,b)
+#define SEND_GET_XATTR(a,b,c) send_get_xattr(a,b,c)
#define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b,c)
#else
#define SEND_STAT(a,b,c) send_stat(a,b)
#define SEND_STAT64(a,b,c) send_stat64(a,b)
#define SEND_GET_STAT(a,b) send_get_stat(a)
#define SEND_GET_STAT64(a,b) send_get_stat64(a)
+#define SEND_GET_XATTR(a,b,c) send_get_xattr(a,b)
#define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b)
#endif