From: Michael Tremer Date: Tue, 27 Jan 2026 16:19:21 +0000 (+0000) Subject: tor: Fix build against glibc >= 2.43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a64e079e26d46c191a11a2753a626ba4439b878;p=ipfire-2.x.git tor: Fix build against glibc >= 2.43 Signed-off-by: Michael Tremer --- diff --git a/lfs/tor b/lfs/tor index f77e25bd7..50e469507 100644 --- 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 \