tools/fakeroot: fix build error on macOS
authorFelix Fietkau <nbd@nbd.name>
Fri, 24 Sep 2021 16:38:24 +0000 (18:38 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 25 Sep 2021 07:38:46 +0000 (09:38 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
tools/fakeroot/patches/100-macos_compile_fix.patch [new file with mode: 0644]

diff --git a/tools/fakeroot/patches/100-macos_compile_fix.patch b/tools/fakeroot/patches/100-macos_compile_fix.patch
new file mode 100644 (file)
index 0000000..64c0b47
--- /dev/null
@@ -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"