]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
tor: Fix build against glibc >= 2.43
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Jan 2026 16:19:21 +0000 (16:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Jan 2026 11:29:23 +0000 (11:29 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/tor

diff --git a/lfs/tor b/lfs/tor
index f77e25bd71809161411cf640bdd8816d53588ac7..50e469507fef3034e7b35c1eae72bb77e53f7ef7 100644 (file)
--- a/lfs/tor
+++ b/lfs/tor
@@ -81,6 +81,8 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && sed -i 's/\(slash = \)strchr/\1(char *)strchr/' src/lib/fs/path.c
+       cd $(DIR_APP) && sed -i '/#define SYS_SECCOMP/d' src/lib/sandbox/sandbox.h
        cd $(DIR_APP) && \
                ./configure \
                        --prefix=/usr \