commit:     9f64f7cb2c8fb95bcad98811a8e21d55fc635c9d
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 30 15:29:27 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Nov 30 15:29:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=9f64f7cb

app-editors/pemacs: Fix compilation with GCC 15

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-editors/pemacs/pemacs-1.5_pre20130322.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-editors/pemacs/pemacs-1.5_pre20130322.ebuild 
b/app-editors/pemacs/pemacs-1.5_pre20130322.ebuild
index 3a8e438..9750325 100644
--- a/app-editors/pemacs/pemacs-1.5_pre20130322.ebuild
+++ b/app-editors/pemacs/pemacs-1.5_pre20130322.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -28,7 +28,7 @@ DEPEND="${RDEPEND}
 
 src_compile() {
        emake CC="$(tc-getCC)" \
-               CFLAGS="${CFLAGS} -Wall" \
+               CFLAGS="${CFLAGS} -std=gnu17 -Wall" \
                LFLAGS="${LDFLAGS} $("$(tc-getPKG_CONFIG)" --libs ncurses)"
 }
 

Reply via email to