From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <development+bounces-281-archive=lists.ipfire.org@lists.ipfire.org>
Received: from mail02.haj.ipfire.org (localhost [127.0.0.1])
	by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Zpn020dZ5z377j
	for <archive@lists.ipfire.org>; Fri,  2 May 2025 10:16:50 +0000 (UTC)
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 4Zpmzy4NGDz33Kd
	for <development@lists.ipfire.org>; 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 4Zpmzx58hkz33M;
	Fri,  2 May 2025 10:16:45 +0000 (UTC)
Received: by michael.haj.ipfire.org (Postfix, from userid 0)
	id 4Zpmzx25JvzTk9s; Fri,  2 May 2025 10:16:45 +0000 (UTC)
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Cc: Michael Tremer <michael.tremer@ipfire.org>
Subject: [PATCH 04/42] ncurses: Fix build with GCC 15
Date: Fri,  2 May 2025 10:15:54 +0000
Message-Id: <20250502101632.1082010-4-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: <development.lists.ipfire.org>
List-Subscribe: <https://lists.ipfire.org/>,
 <mailto:development+subscribe@lists.ipfire.org?subject=subscribe>
List-Unsubscribe: <https://lists.ipfire.org/>,
 <mailto:development+unsubscribe@lists.ipfire.org?subject=unsubscribe>
List-Post: <mailto:development@lists.ipfire.org>
List-Help: <mailto:development+help@lists.ipfire.org?subject=help>
Sender: <development@lists.ipfire.org>
Mail-Followup-To: <development@lists.ipfire.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/ncurses | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lfs/ncurses b/lfs/ncurses
index b6e331192..e7d8b6663 100644
--- a/lfs/ncurses
+++ b/lfs/ncurses
@@ -31,6 +31,9 @@ DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
+# Fix build with GCC 15
+CFLAGS += -std=gnu17
+
 # Normal build or $(TOOLS_DIR) build.
 #
 ifeq "$(ROOT)" ""
-- 
2.39.5