From patchwork Fri May 2 10:15:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 8659 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Zpn0N6Cm7z3xNc for ; Fri, 2 May 2025 10:17:08 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Zpn0N52Fqz6FQ for ; Fri, 2 May 2025 10:17:08 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Zpn066F2jz37LS for ; Fri, 2 May 2025 10:16:54 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Zpmzy56qzz33gS for ; Fri, 2 May 2025 10:16:46 +0000 (UTC) Received: from michael.haj.ipfire.org (michael.haj.ipfire.org [172.28.1.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "michael.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Zpmzy1Rf8z38R; Fri, 2 May 2025 10:16:46 +0000 (UTC) Received: by michael.haj.ipfire.org (Postfix, from userid 0) id 4Zpmzx2cHTzTkJr; Fri, 2 May 2025 10:16:45 +0000 (UTC) From: Michael Tremer To: development@lists.ipfire.org Cc: Michael Tremer Subject: [PATCH 08/42] sysklogd: Fix build with GCC 15 Date: Fri, 2 May 2025 10:15:58 +0000 Message-Id: <20250502101632.1082010-8-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250502101632.1082010-1-michael.tremer@ipfire.org> References: <20250502101632.1082010-1-michael.tremer@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Signed-off-by: Michael Tremer --- lfs/sysklogd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lfs/sysklogd b/lfs/sysklogd index b6e5d4c2f..4e5557264 100644 --- a/lfs/sysklogd +++ b/lfs/sysklogd @@ -32,6 +32,9 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) +# Fix build with GCC 15 +CFLAGS += -std=gnu17 + ############################################################################### # Top-level Rules ############################################################################### @@ -74,7 +77,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # Compile fix cd $(DIR_APP) && sed -i "s/union wait/int/" syslogd.c - cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make $(MAKETUNING) RPM_OPT_FLAGS="$(CFLAGS)" cd $(DIR_APP) && make install touch /var/log/{dhcpcd.log,messages} chmod 664 /var/log/{dhcpcd.log,messages}