pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/libcdio-paranoia



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jun 16 17:39:32 UTC 2026

Modified Files:
        pkgsrc/misc/libcdio-paranoia: Makefile

Log Message:
libcdio-paranoia: Fix build with GCC 15 and newer.

getopt.c uses "old-style function definitions",
which are incompatible with C23 as a default language.

gnu99 is chosen for being the minimum bootstrap requirement
and safety against APIs being hidden in standards mode.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/misc/libcdio-paranoia/Makefile

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

Modified files:

Index: pkgsrc/misc/libcdio-paranoia/Makefile
diff -u pkgsrc/misc/libcdio-paranoia/Makefile:1.16 pkgsrc/misc/libcdio-paranoia/Makefile:1.17
--- pkgsrc/misc/libcdio-paranoia/Makefile:1.16  Fri Dec 26 11:10:46 2025
+++ pkgsrc/misc/libcdio-paranoia/Makefile       Tue Jun 16 17:39:32 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2025/12/26 11:10:46 adam Exp $
+# $NetBSD: Makefile,v 1.17 2026/06/16 17:39:32 nia Exp $
 
 DISTNAME=      libcdio-paranoia-10.2+2.0.2
 PKGNAME=       libcdio-paranoia-2.0.2
@@ -23,6 +23,13 @@ PKGCONFIG_OVERRIDE+= libcdio_cdda.pc.in
 PKGCONFIG_OVERRIDE+=   libcdio_paranoia.pc.in
 TEST_TARGET=           check
 
+# getopt.c uses "old-style function definitions",
+# which are incompatible with C23 as a default language.
+#
+# gnu99 is chosen for being the minimum bootstrap requirement
+# and safety against APIs being hidden in standards mode.
+FORCE_C_STD=           gnu99
+
 .include "../../mk/compiler.mk"
 
 .if ${CC_VERSION:Mgcc-*} || ${CC_VERSION:Mclang-*}



Home | Main Index | Thread Index | Old Index