aboutsummaryrefslogtreecommitdiffstats
path: root/tools/fakeroot
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-09-24 18:38:24 +0200
committerFelix Fietkau <nbd@nbd.name>2021-09-25 09:38:46 +0200
commitea44aebc27182a8130a9999b4415efa799f9b2ad (patch)
tree67445b7944397d2941c1ad8e1d07274d63e48e42 /tools/fakeroot
parent2bfac61483db32f8bd1f5b38702b39f206256265 (diff)
downloadupstream-ea44aebc27182a8130a9999b4415efa799f9b2ad.tar.gz
upstream-ea44aebc27182a8130a9999b4415efa799f9b2ad.tar.bz2
upstream-ea44aebc27182a8130a9999b4415efa799f9b2ad.zip
tools/fakeroot: fix build error on macOS
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/fakeroot')
-rw-r--r--tools/fakeroot/patches/100-macos_compile_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/fakeroot/patches/100-macos_compile_fix.patch b/tools/fakeroot/patches/100-macos_compile_fix.patch
new file mode 100644
index 0000000000..64c0b472c6
--- /dev/null
+++ b/tools/fakeroot/patches/100-macos_compile_fix.patch
@@ -0,0 +1,11 @@
+--- a/libfakeroot_inode64.c
++++ b/libfakeroot_inode64.c
+@@ -36,6 +36,8 @@
+ #include <fts.h>
+ #endif /* HAVE_FTS_H */
+
++void load_library_symbols(void);
++
+ #include "wrapped.h"
+ #include "wraptmpf.h"
+ #include "wrapdef.h"