[openwrt/openwrt] tools/fakeroot: fix build error on macOS

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 25 05:09:03 PDT 2021


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ea44aebc27182a8130a9999b4415efa799f9b2ad

commit ea44aebc27182a8130a9999b4415efa799f9b2ad
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Sep 24 18:38:24 2021 +0200

    tools/fakeroot: fix build error on macOS
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 tools/fakeroot/patches/100-macos_compile_fix.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

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"



More information about the lede-commits mailing list