From: Michael Tremer Date: Tue, 27 Jan 2026 16:45:07 +0000 (+0000) Subject: flashrom: Fix build against glibc >= 2.43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e24021dabc7f9884e5a034263836f4bd6800b88;p=ipfire-2.x.git flashrom: Fix build against glibc >= 2.43 Signed-off-by: Michael Tremer --- diff --git a/lfs/flashrom b/lfs/flashrom index 6f1aa731f..f87c42bf9 100644 --- a/lfs/flashrom +++ b/lfs/flashrom @@ -82,6 +82,7 @@ $(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/param_pos = strstr/param_pos = (char *)strstr/' flashrom.c cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install PREFIX=/usr @rm -rf $(DIR_APP)