pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ncurses



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Aug 16 13:22:48 UTC 2025

Modified Files:
        pkgsrc/devel/ncurses: Makefile

Log Message:
ncurses: fix C standard to gnu99

gcc 15 uses C23 by default, breaking the "bool" detection logic in the
ncurses configure script. This leads to a compile error later. There has
been a fix from upstream but no new release yet.

Hopefully, this workaround can be removed at the next update.

patch and explanation by tnn@, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 pkgsrc/devel/ncurses/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ncurses/Makefile
diff -u pkgsrc/devel/ncurses/Makefile:1.119 pkgsrc/devel/ncurses/Makefile:1.120
--- pkgsrc/devel/ncurses/Makefile:1.119 Sun Jun 22 11:13:07 2025
+++ pkgsrc/devel/ncurses/Makefile       Sat Aug 16 13:22:47 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.119 2025/06/22 11:13:07 kim Exp $
+# $NetBSD: Makefile,v 1.120 2025/08/16 13:22:47 bsiegert Exp $
 
 DISTNAME=      ncurses-6.5
 PKGREVISION=   1
@@ -16,6 +16,7 @@ SUPERSEDES+=  ncursesw-[0-9]*
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake pkg-config tbl
+FORCE_C_STD=           gnu99
 
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-libtool



Home | Main Index | Thread Index | Old Index