git: 6b9daae5590a - main - editors/emacs: Pin to GCC 13

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Sun, 21 Dec 2025 18:00:31 UTC
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b9daae5590abd2644dd2a96f53c376816226de5

commit 6b9daae5590abd2644dd2a96f53c376816226de5
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2025-12-21 17:50:50 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2025-12-21 17:50:50 +0000

    editors/emacs: Pin to GCC 13
    
    Build fails on some FreeBSD versions with GCC 14, which is about to
    become GCC_DEFAULT. Pin to GCC 13 until the issue is fixed.
    
    PR:             288303
    Reported by:    yasu
    Tested by:      yasu, jrm
---
 editors/emacs/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 71e59968b19e..289c9f2dac31 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -204,7 +204,7 @@ MAILUTILS_CONFIGURE_ENV_OFF=	ac_cv_lib_lockfile_maillock=no \
 MODULES_CONFIGURE_WITH=		modules
 MOTIF_USES=			motif
 MOTIF_CONFIGURE_ON=		--with-x-toolkit=motif
-NATIVECOMP_USE=			GCC=yes
+NATIVECOMP_USE=			GCC=13
 NATIVECOMP_CONFIGURE_WITH=	native-compilation=aot
 OSS_CONFIGURE_ON=		--with-sound=oss
 OTF_LIB_DEPENDS=		libotf.so:print/libotf