pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Aug  2 16:17:20 UTC 2023

Modified Files:
        pkgsrc/audio/parlatype: Makefile
        pkgsrc/audio/pt2-clone: Makefile
        pkgsrc/cad/ng-spice: Makefile.common
        pkgsrc/databases/openldap-server: Makefile
        pkgsrc/devel/blosc: Makefile
        pkgsrc/devel/glade: Makefile
        pkgsrc/devel/p5-Devel-MAT-Dumper: Makefile
        pkgsrc/devel/p5-Syntax-Keyword-Match: Makefile
        pkgsrc/devel/py-pygit2: Makefile
        pkgsrc/emulators/libretro-cap32: Makefile
        pkgsrc/emulators/pcsxr: Makefile
        pkgsrc/emulators/xroar: Makefile
        pkgsrc/games/teeworlds: Makefile
        pkgsrc/graphics/libexif: Makefile
        pkgsrc/graphics/mojoshader: Makefile
        pkgsrc/ham/lpcnetfreedv: Makefile
        pkgsrc/math/py-numpy: Makefile
        pkgsrc/math/sc-im: Makefile
        pkgsrc/misc/mate-calc: Makefile
        pkgsrc/multimedia/gst-plugins1-bad: Makefile.common
        pkgsrc/multimedia/gst-plugins1-base: Makefile.common
        pkgsrc/multimedia/gst-plugins1-good: Makefile.common
        pkgsrc/net/knot: Makefile
        pkgsrc/net/libmicrodns: Makefile
        pkgsrc/net/sslh: Makefile
        pkgsrc/security/putty: Makefile
        pkgsrc/security/py-cryptodome: Makefile
        pkgsrc/security/xmlsec1: Makefile
        pkgsrc/sysutils/pciutils: Makefile
        pkgsrc/sysutils/zabbix60-server: Makefile.common
        pkgsrc/textproc/py-cElementTree: Makefile
        pkgsrc/time/py-ciso8601: Makefile
        pkgsrc/wm/2bwm: Makefile
        pkgsrc/www/h2o: Makefile
        pkgsrc/www/py-genshi: Makefile
        pkgsrc/www/w3m: Makefile.common
        pkgsrc/x11/gtk3: Makefile
        pkgsrc/x11/hsetroot: Makefile
        pkgsrc/x11/tint2: Makefile
        pkgsrc/x11/xtrlock: Makefile
        pkgsrc/x11/zenity: Makefile

Log Message:
*: Use FORCE_C_STD=c99 for C packages that use for loop initial
declarations without setting -std=c99.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/audio/parlatype/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/audio/pt2-clone/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/cad/ng-spice/Makefile.common
cvs rdiff -u -r1.69 -r1.70 pkgsrc/databases/openldap-server/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/blosc/Makefile
cvs rdiff -u -r1.115 -r1.116 pkgsrc/devel/glade/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/p5-Devel-MAT-Dumper/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/p5-Syntax-Keyword-Match/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/py-pygit2/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/emulators/libretro-cap32/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/emulators/pcsxr/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/emulators/xroar/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/games/teeworlds/Makefile
cvs rdiff -u -r1.51 -r1.52 pkgsrc/graphics/libexif/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/graphics/mojoshader/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/ham/lpcnetfreedv/Makefile
cvs rdiff -u -r1.108 -r1.109 pkgsrc/math/py-numpy/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/math/sc-im/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/misc/mate-calc/Makefile
cvs rdiff -u -r1.44 -r1.45 pkgsrc/multimedia/gst-plugins1-bad/Makefile.common
cvs rdiff -u -r1.46 -r1.47 \
    pkgsrc/multimedia/gst-plugins1-base/Makefile.common
cvs rdiff -u -r1.45 -r1.46 \
    pkgsrc/multimedia/gst-plugins1-good/Makefile.common
cvs rdiff -u -r1.75 -r1.76 pkgsrc/net/knot/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/libmicrodns/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/net/sslh/Makefile
cvs rdiff -u -r1.76 -r1.77 pkgsrc/security/putty/Makefile
cvs rdiff -u -r1.49 -r1.50 pkgsrc/security/py-cryptodome/Makefile
cvs rdiff -u -r1.43 -r1.44 pkgsrc/security/xmlsec1/Makefile
cvs rdiff -u -r1.54 -r1.55 pkgsrc/sysutils/pciutils/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/zabbix60-server/Makefile.common
cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/py-cElementTree/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/time/py-ciso8601/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/wm/2bwm/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/www/h2o/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/www/py-genshi/Makefile
cvs rdiff -u -r1.78 -r1.79 pkgsrc/www/w3m/Makefile.common
cvs rdiff -u -r1.186 -r1.187 pkgsrc/x11/gtk3/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/x11/hsetroot/Makefile
cvs rdiff -u -r1.69 -r1.70 pkgsrc/x11/tint2/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/x11/xtrlock/Makefile
cvs rdiff -u -r1.109 -r1.110 pkgsrc/x11/zenity/Makefile

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

Modified files:

Index: pkgsrc/audio/parlatype/Makefile
diff -u pkgsrc/audio/parlatype/Makefile:1.5 pkgsrc/audio/parlatype/Makefile:1.6
--- pkgsrc/audio/parlatype/Makefile:1.5 Sun Jul  9 08:20:50 2023
+++ pkgsrc/audio/parlatype/Makefile     Wed Aug  2 16:17:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/07/09 08:20:50 nia Exp $
+# $NetBSD: Makefile,v 1.6 2023/08/02 16:17:15 nia Exp $
 
 DISTNAME=      parlatype-3.1
 PKGREVISION=   2
@@ -13,8 +13,8 @@ LICENSE=      gnu-gpl-v3 AND cc-by-sa-v4.0
 
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            itstool msgfmt pkg-config
-# error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES=         c99
+
+FORCE_C_STD=           c99
 
 MESON_ARGS+=   -Dlocaledir=${PKGLOCALEDIR}/locale
 

Index: pkgsrc/audio/pt2-clone/Makefile
diff -u pkgsrc/audio/pt2-clone/Makefile:1.18 pkgsrc/audio/pt2-clone/Makefile:1.19
--- pkgsrc/audio/pt2-clone/Makefile:1.18        Sat May  6 19:09:03 2023
+++ pkgsrc/audio/pt2-clone/Makefile     Wed Aug  2 16:17:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2023/05/06 19:09:03 ryoon Exp $
+# $NetBSD: Makefile,v 1.19 2023/08/02 16:17:15 nia Exp $
 
 DISTNAME=      pt2-clone-1.49
 PKGREVISION=   3
@@ -14,8 +14,10 @@ LICENSE=     modified-bsd
 
 USE_CMAKE=     yes
 
+USE_LANGUAGES= c c++
+
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99 c++
+FORCE_C_STD=   c99
 
 INSTALLATION_DIRS+=    share/applications
 INSTALLATION_DIRS+=    share/doc/${PKGBASE}

Index: pkgsrc/cad/ng-spice/Makefile.common
diff -u pkgsrc/cad/ng-spice/Makefile.common:1.2 pkgsrc/cad/ng-spice/Makefile.common:1.3
--- pkgsrc/cad/ng-spice/Makefile.common:1.2     Sun Jul  9 13:20:23 2023
+++ pkgsrc/cad/ng-spice/Makefile.common Wed Aug  2 16:17:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2023/07/09 13:20:23 nia Exp $
+# $NetBSD: Makefile.common,v 1.3 2023/08/02 16:17:15 nia Exp $
 #
 # used by can/ng-spice
 # used by can/ng-spice-shared
@@ -16,8 +16,10 @@ LICENSE=     modified-bsd AND gnu-lgpl-v2.1 
 
 USE_LIBTOOL=           YES
 USE_TOOLS+=            gmake
-# error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES=         c99 c++
+USE_LANGUAGES=         c c++
 
 GNU_CONFIGURE=         YES
 CONFIGURE_ARGS+=       --disable-debug
+
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD=           c99

Index: pkgsrc/databases/openldap-server/Makefile
diff -u pkgsrc/databases/openldap-server/Makefile:1.69 pkgsrc/databases/openldap-server/Makefile:1.70
--- pkgsrc/databases/openldap-server/Makefile:1.69      Tue Jul 11 21:12:48 2023
+++ pkgsrc/databases/openldap-server/Makefile   Wed Aug  2 16:17:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2023/07/11 21:12:48 adam Exp $
+# $NetBSD: Makefile,v 1.70 2023/08/02 16:17:15 nia Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-server-/}
 COMMENT=       Lightweight Directory Access Protocol server suite
@@ -8,7 +8,7 @@ CONFLICTS+=     openldap<2.3.23nb1
 DEPENDS+=      openldap-client>=2.3.27nb1:../../databases/openldap-client
 
 # "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 CFLAGS.FreeBSD+=       -DMDB_DSYNC=O_SYNC
 CFLAGS.DragonFly+=     -DMDB_DSYNC=O_SYNC -DMDB_FDATASYNC=fsync

Index: pkgsrc/devel/blosc/Makefile
diff -u pkgsrc/devel/blosc/Makefile:1.20 pkgsrc/devel/blosc/Makefile:1.21
--- pkgsrc/devel/blosc/Makefile:1.20    Tue May 16 15:39:37 2023
+++ pkgsrc/devel/blosc/Makefile Wed Aug  2 16:17:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2023/05/16 15:39:37 adam Exp $
+# $NetBSD: Makefile,v 1.21 2023/08/02 16:17:16 nia Exp $
 
 DISTNAME=      blosc-1.21.4
 CATEGORIES=    devel
@@ -12,8 +12,7 @@ COMMENT=      Blocking, shuffling, and lossle
 LICENSE=       modified-bsd
 
 USE_CMAKE=     yes
-# error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99 c++
+USE_LANGUAGES= c c++
 USE_TOOLS+=    pkg-config
 TEST_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/blosc
 # For Darwin
@@ -25,6 +24,9 @@ CMAKE_ARGS+=  -DPREFER_EXTERNAL_SNAPPY=ON
 CMAKE_ARGS+=   -DPREFER_EXTERNAL_ZLIB=ON
 CMAKE_ARGS+=   -DPREFER_EXTERNAL_ZSTD=ON
 
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD=   c99
+
 # Needed to use posix_memalign, see tests/test_common.h
 CFLAGS+=       -D_POSIX_C_SOURCE=200112
 

Index: pkgsrc/devel/glade/Makefile
diff -u pkgsrc/devel/glade/Makefile:1.115 pkgsrc/devel/glade/Makefile:1.116
--- pkgsrc/devel/glade/Makefile:1.115   Sun Jul  9 14:17:53 2023
+++ pkgsrc/devel/glade/Makefile Wed Aug  2 16:17:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.115 2023/07/09 14:17:53 nia Exp $
+# $NetBSD: Makefile,v 1.116 2023/08/02 16:17:16 nia Exp $
 
 DISTNAME=              glade-3.40.0
 PKGREVISION=           4
@@ -17,7 +17,7 @@ TOOL_DEPENDS+=                docbook-xsl-[0-9]*:../..
 USE_TOOLS+=            itstool msgfmt pkg-config
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES=         c99
+FORCE_C_STD=           c99
 
 PKGCONFIG_OVERRIDE+=   data/gladeui-2.0.pc.in
 

Index: pkgsrc/devel/p5-Devel-MAT-Dumper/Makefile
diff -u pkgsrc/devel/p5-Devel-MAT-Dumper/Makefile:1.3 pkgsrc/devel/p5-Devel-MAT-Dumper/Makefile:1.4
--- pkgsrc/devel/p5-Devel-MAT-Dumper/Makefile:1.3       Sun Jul  9 14:36:30 2023
+++ pkgsrc/devel/p5-Devel-MAT-Dumper/Makefile   Wed Aug  2 16:17:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/07/09 14:36:30 nia Exp $
+# $NetBSD: Makefile,v 1.4 2023/08/02 16:17:16 nia Exp $
 
 DISTNAME=      Devel-MAT-Dumper-0.47
 PKGNAME=       p5-${DISTNAME}
@@ -12,7 +12,7 @@ COMMENT=      Write a heap dump file for late
 LICENSE=       ${PERL5_LICENSE}
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 #DEPENDS+=     p5-Commandable-[0-9]*:../../devel/p5-Commandable
 #TEST_DEPENDS+=        p5-Test-Identity-[0-9]*:../../devel/p5-Test-Identity

Index: pkgsrc/devel/p5-Syntax-Keyword-Match/Makefile
diff -u pkgsrc/devel/p5-Syntax-Keyword-Match/Makefile:1.3 pkgsrc/devel/p5-Syntax-Keyword-Match/Makefile:1.4
--- pkgsrc/devel/p5-Syntax-Keyword-Match/Makefile:1.3   Sun Jul  9 14:38:46 2023
+++ pkgsrc/devel/p5-Syntax-Keyword-Match/Makefile       Wed Aug  2 16:17:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/07/09 14:38:46 nia Exp $
+# $NetBSD: Makefile,v 1.4 2023/08/02 16:17:16 nia Exp $
 
 DISTNAME=      Syntax-Keyword-Match-0.10
 PKGNAME=       p5-${DISTNAME}
@@ -14,7 +14,7 @@ LICENSE=      ${PERL5_LICENSE}
 DEPENDS+=      p5-XS-Parse-Keyword>=0.23:../../devel/p5-XS-Parse-Keyword
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 PERL5_PACKLIST=                auto/Syntax/Keyword/Match/.packlist
 PERL5_MODULE_TYPE=     Module::Build

Index: pkgsrc/devel/py-pygit2/Makefile
diff -u pkgsrc/devel/py-pygit2/Makefile:1.30 pkgsrc/devel/py-pygit2/Makefile:1.31
--- pkgsrc/devel/py-pygit2/Makefile:1.30        Sun Jul  9 15:06:43 2023
+++ pkgsrc/devel/py-pygit2/Makefile     Wed Aug  2 16:17:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2023/07/09 15:06:43 nia Exp $
+# $NetBSD: Makefile,v 1.31 2023/08/02 16:17:16 nia Exp $
 
 DISTNAME=      pygit2-1.12.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,7 +16,7 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 PYSETUPTESTTARGET=     pytest
 

Index: pkgsrc/emulators/libretro-cap32/Makefile
diff -u pkgsrc/emulators/libretro-cap32/Makefile:1.6 pkgsrc/emulators/libretro-cap32/Makefile:1.7
--- pkgsrc/emulators/libretro-cap32/Makefile:1.6        Fri Jan 29 09:20:23 2021
+++ pkgsrc/emulators/libretro-cap32/Makefile    Wed Aug  2 16:17:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2021/01/29 09:20:23 nia Exp $
+# $NetBSD: Makefile,v 1.7 2023/08/02 16:17:16 nia Exp $
 
 DISTNAME=      libretro-cap32-20200508
 CATEGORIES=    emulators
@@ -11,7 +11,7 @@ COMMENT=      Libretro core based on the Capr
 LICENSE=       gnu-gpl-v2
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 LIBRETRO_CORE= cap32
 

Index: pkgsrc/emulators/pcsxr/Makefile
diff -u pkgsrc/emulators/pcsxr/Makefile:1.11 pkgsrc/emulators/pcsxr/Makefile:1.12
--- pkgsrc/emulators/pcsxr/Makefile:1.11        Sun Jul  9 20:27:59 2023
+++ pkgsrc/emulators/pcsxr/Makefile     Wed Aug  2 16:17:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2023/07/09 20:27:59 nia Exp $
+# $NetBSD: Makefile,v 1.12 2023/08/02 16:17:16 nia Exp $
 
 DISTNAME=      pcsxr-1.9.95.20190306
 PKGREVISION=   8
@@ -13,11 +13,13 @@ COMMENT=    Sony PlayStation emulator
 LICENSE=       gnu-gpl-v3
 
 USE_TOOLS+=    pkg-config
-# error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99 c++
+USE_LANGUAGES= c c++
 
 USE_CMAKE=     yes
 
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD=   c99
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} != "Linux"

Index: pkgsrc/emulators/xroar/Makefile
diff -u pkgsrc/emulators/xroar/Makefile:1.13 pkgsrc/emulators/xroar/Makefile:1.14
--- pkgsrc/emulators/xroar/Makefile:1.13        Sun Jul  9 21:48:44 2023
+++ pkgsrc/emulators/xroar/Makefile     Wed Aug  2 16:17:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2023/07/09 21:48:44 nia Exp $
+# $NetBSD: Makefile,v 1.14 2023/08/02 16:17:16 nia Exp $
 
 DISTNAME=      xroar-1.0.2
 PKGREVISION=   6
@@ -10,12 +10,12 @@ HOMEPAGE=   https://www.6809.org.uk/xroar/
 COMMENT=       MC6809-based Dragon and Colour Computer (CoCo) emulator
 LICENSE=       gnu-gpl-v3
 
-# error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
-
 GNU_CONFIGURE= yes
 INFO_FILES=    yes
 
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD=   c99
+
 .include "options.mk"
 .include "../../devel/SDL2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"

Index: pkgsrc/games/teeworlds/Makefile
diff -u pkgsrc/games/teeworlds/Makefile:1.25 pkgsrc/games/teeworlds/Makefile:1.26
--- pkgsrc/games/teeworlds/Makefile:1.25        Sun Jul  9 22:21:52 2023
+++ pkgsrc/games/teeworlds/Makefile     Wed Aug  2 16:17:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2023/07/09 22:21:52 nia Exp $
+# $NetBSD: Makefile,v 1.26 2023/08/02 16:17:16 nia Exp $
 
 DISTNAME=      teeworlds-0.7.5-src
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -12,8 +12,7 @@ HOMEPAGE=     https://www.teeworlds.com/
 COMMENT=       Fast-paced retro multiplayer shooter
 LICENSE=       zlib AND 2-clause-bsd AND modified-bsd AND cc-by-sa-v3.0
 
-# error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99 c++03
+USE_LANGUAGES= c c++
 USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
 
@@ -23,6 +22,12 @@ TOOL_DEPENDS+=       icoutils-[0-9]*:../../gra
 
 LDFLAGS.SunOS+=        -lsocket -lnsl
 
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD=           c99
+
+# Fails with C++14 default language
+FORCE_CXX_STD=         c++03
+
 INSTALLATION_DIRS+=    share/appdata
 INSTALLATION_DIRS+=    share/applications
 INSTALLATION_DIRS+=    share/pixmaps

Index: pkgsrc/graphics/libexif/Makefile
diff -u pkgsrc/graphics/libexif/Makefile:1.51 pkgsrc/graphics/libexif/Makefile:1.52
--- pkgsrc/graphics/libexif/Makefile:1.51       Tue Nov 30 16:25:40 2021
+++ pkgsrc/graphics/libexif/Makefile    Wed Aug  2 16:17:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2021/11/30 16:25:40 ryoon Exp $
+# $NetBSD: Makefile,v 1.52 2023/08/02 16:17:17 nia Exp $
 
 DISTNAME=      libexif-0.6.24
 CATEGORIES=    graphics
@@ -15,11 +15,12 @@ LICENSE=    gnu-lgpl-v2.1
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            gmake msgfmt msgmerge xgettext
-# "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES=         c99
 GNU_CONFIGURE=         yes
 CONFIGURE_ENV+=                ac_cv_path_DOXYGEN=false
 PKGCONFIG_OVERRIDE=    libexif.pc.in
 
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
+FORCE_C_STD=           c99
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/graphics/mojoshader/Makefile
diff -u pkgsrc/graphics/mojoshader/Makefile:1.9 pkgsrc/graphics/mojoshader/Makefile:1.10
--- pkgsrc/graphics/mojoshader/Makefile:1.9     Mon Jul 10 07:39:13 2023
+++ pkgsrc/graphics/mojoshader/Makefile Wed Aug  2 16:17:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2023/07/10 07:39:13 nia Exp $
+# $NetBSD: Makefile,v 1.10 2023/08/02 16:17:17 nia Exp $
 
 DISTNAME=      mojoshader-0.0.20220415
 PKGREVISION=   3
@@ -11,8 +11,7 @@ HOMEPAGE=     https://www.icculus.org/mojosh
 COMMENT=       Library to move calls to Direct3D shaders to OpenGL
 LICENSE=       zlib
 
-# error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES+=        c99 c++
+USE_LANGUAGES+=        c c++
 
 USE_CMAKE=     yes
 
@@ -21,6 +20,9 @@ CMAKE_ARGS=   -DBUILD_SHARED_LIBS=ON \
                -DFLIP_VIEWPORT=1 \
                -DPROFILE_METAL=OFF
 
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD=   c99
+
 INSTALLATION_DIRS=     lib include
 
 # No upstream install target

Index: pkgsrc/ham/lpcnetfreedv/Makefile
diff -u pkgsrc/ham/lpcnetfreedv/Makefile:1.2 pkgsrc/ham/lpcnetfreedv/Makefile:1.3
--- pkgsrc/ham/lpcnetfreedv/Makefile:1.2        Mon Jul 10 08:55:02 2023
+++ pkgsrc/ham/lpcnetfreedv/Makefile    Wed Aug  2 16:17:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2023/07/10 08:55:02 nia Exp $
+# $NetBSD: Makefile,v 1.3 2023/08/02 16:17:17 nia Exp $
 
 # https://github.com/drowe67/LPCNet/archive/v0.2.tar.gz
 # http://rowetel.com/downloads/deep/lpcnet_191005_v1.0.tgz
@@ -17,8 +17,6 @@ HOMEPAGE=     https://github.com/drowe67/LPC
 COMMENT=       LPCNet library for use by FreeDV
 LICENSE=       modified-bsd
 
-# error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
 USE_TOOLS+=    tar pkg-config
 
 WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
@@ -30,6 +28,9 @@ CMAKE_ARGS+=    -DDISABLE_CPU_OPTIMIZATI
 #CMAKE_ARGS+=    -DAVX2=1 -DAVX=1
 #CMAKE_ARGS+=    -DNEON=1
 
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD=   c99
+
 pre-configure:
        ${MKDIR} ${WRKSRC}/build
        ${CP} ${DISTDIR}/${NNDISTFILE} ${WRKSRC}/build/

Index: pkgsrc/math/py-numpy/Makefile
diff -u pkgsrc/math/py-numpy/Makefile:1.108 pkgsrc/math/py-numpy/Makefile:1.109
--- pkgsrc/math/py-numpy/Makefile:1.108 Mon Jul 31 18:36:01 2023
+++ pkgsrc/math/py-numpy/Makefile       Wed Aug  2 16:17:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.108 2023/07/31 18:36:01 adam Exp $
+# $NetBSD: Makefile,v 1.109 2023/08/02 16:17:17 nia Exp $
 
 DISTNAME=      numpy-1.25.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,8 +16,10 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-nose-[0-9]
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.2.0:../../devel/py-typing-extensions
 
+USE_LANGUAGES=         c c++ fortran
+
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES=         c99 c++ fortran
+FORCE_C_STD=           c99
 
 USE_CXX_FEATURES+=     c++17
 

Index: pkgsrc/math/sc-im/Makefile
diff -u pkgsrc/math/sc-im/Makefile:1.40 pkgsrc/math/sc-im/Makefile:1.41
--- pkgsrc/math/sc-im/Makefile:1.40     Wed Jul 12 19:16:10 2023
+++ pkgsrc/math/sc-im/Makefile  Wed Aug  2 16:17:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2023/07/12 19:16:10 nia Exp $
+# $NetBSD: Makefile,v 1.41 2023/08/02 16:17:17 nia Exp $
 
 DISTNAME=      sc-im-0.8.3
 CATEGORIES=    math
@@ -19,7 +19,7 @@ INSTALL_DIRS= src
 USE_TOOLS+=    gmake pkg-config bison bash:run
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 REPLACE_BASH+= src/scopen
 

Index: pkgsrc/misc/mate-calc/Makefile
diff -u pkgsrc/misc/mate-calc/Makefile:1.27 pkgsrc/misc/mate-calc/Makefile:1.28
--- pkgsrc/misc/mate-calc/Makefile:1.27 Sat Jul  1 14:20:56 2023
+++ pkgsrc/misc/mate-calc/Makefile      Wed Aug  2 16:17:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2023/07/01 14:20:56 nia Exp $
+# $NetBSD: Makefile,v 1.28 2023/08/02 16:17:17 nia Exp $
 
 PKGREVISION= 3
 .include "../../meta-pkgs/mate/Makefile.common"
@@ -9,7 +9,7 @@ CATEGORIES=     misc
 COMMENT=       Calculator for MATE Desktop
 
 # "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"

Index: pkgsrc/multimedia/gst-plugins1-bad/Makefile.common
diff -u pkgsrc/multimedia/gst-plugins1-bad/Makefile.common:1.44 pkgsrc/multimedia/gst-plugins1-bad/Makefile.common:1.45
--- pkgsrc/multimedia/gst-plugins1-bad/Makefile.common:1.44     Fri Dec 16 21:08:08 2022
+++ pkgsrc/multimedia/gst-plugins1-bad/Makefile.common  Wed Aug  2 16:17:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.44 2022/12/16 21:08:08 adam Exp $
+# $NetBSD: Makefile.common,v 1.45 2023/08/02 16:17:17 nia Exp $
 # used by audio/gst-plugins1-dts/Makefile
 # used by audio/gst-plugins1-faac/Makefile
 # used by audio/gst-plugins1-faad/Makefile
@@ -26,13 +26,15 @@ DISTNAME=   gst-plugins-bad-${GST_VERSION}
 MASTER_SITES=  https://gstreamer.freedesktop.org/src/gst-plugins-bad/
 EXTRACT_SUFX=  .tar.xz
 
-# "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES= c99 c++
+USE_LANGUAGES= c c++
 USE_TOOLS+=    pkg-config
 
 DISTINFO_FILE= ${.CURDIR}/../../multimedia/gst-plugins1-bad/distinfo
 PATCHDIR=      ${.CURDIR}/../../multimedia/gst-plugins1-bad/patches
 
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
+FORCE_C_STD=   c99
+
 PKGCONFIG_OVERRIDE=            output/pkgconfig/*.pc
 PKGCONFIG_OVERRIDE_STAGE=      pre-install
 

Index: pkgsrc/multimedia/gst-plugins1-base/Makefile.common
diff -u pkgsrc/multimedia/gst-plugins1-base/Makefile.common:1.46 pkgsrc/multimedia/gst-plugins1-base/Makefile.common:1.47
--- pkgsrc/multimedia/gst-plugins1-base/Makefile.common:1.46    Thu Mar  9 08:25:41 2023
+++ pkgsrc/multimedia/gst-plugins1-base/Makefile.common Wed Aug  2 16:17:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.46 2023/03/09 08:25:41 prlw1 Exp $
+# $NetBSD: Makefile.common,v 1.47 2023/08/02 16:17:17 nia Exp $
 # used by audio/gst-plugins1-alsa/Makefile
 # used by audio/gst-plugins1-cdparanoia/Makefile
 # used by audio/gst-plugins1-libvisual/Makefile
@@ -15,11 +15,13 @@ DISTNAME=   gst-plugins-base-${GST_VERSION
 MASTER_SITES=  https://gstreamer.freedesktop.org/src/gst-plugins-base/
 EXTRACT_SUFX=  .tar.xz
 
-# "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES= c99 c++
+USE_LANGUAGES= c c++
 
 USE_TOOLS+=    pkg-config
 
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
+FORCE_C_STD=   c99
+
 DISTINFO_FILE= ${.CURDIR}/../../multimedia/gst-plugins1-base/distinfo
 PATCHDIR=      ${.CURDIR}/../../multimedia/gst-plugins1-base/patches
 

Index: pkgsrc/multimedia/gst-plugins1-good/Makefile.common
diff -u pkgsrc/multimedia/gst-plugins1-good/Makefile.common:1.45 pkgsrc/multimedia/gst-plugins1-good/Makefile.common:1.46
--- pkgsrc/multimedia/gst-plugins1-good/Makefile.common:1.45    Sat Jul  1 14:05:16 2023
+++ pkgsrc/multimedia/gst-plugins1-good/Makefile.common Wed Aug  2 16:17:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.45 2023/07/01 14:05:16 nia Exp $
+# $NetBSD: Makefile.common,v 1.46 2023/08/02 16:17:18 nia Exp $
 # used by audio/gst-plugins1-flac/Makefile
 # used by audio/gst-plugins1-jack/Makefile
 # used by audio/gst-plugins1-lame/Makefile
@@ -27,8 +27,7 @@ DISTNAME=     gst-plugins-good-${GST_VERSION
 MASTER_SITES=  https://gstreamer.freedesktop.org/src/gst-plugins-good/
 EXTRACT_SUFX=  .tar.xz
 
-# "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES= c99 c++
+USE_LANGUAGES= c c++
 
 USE_TOOLS+=    pkg-config
 
@@ -39,6 +38,9 @@ MESON_ARGS+=  -Dasm=disabled
 MESON_ARGS+=   -Dexamples=disabled
 MESON_ARGS+=   -Dorc=disabled
 
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
+FORCE_C_STD=   c99
+
 PKGCONFIG_OVERRIDE=            output/pkgconfig/*.pc
 PKGCONFIG_OVERRIDE_STAGE=      pre-install
 

Index: pkgsrc/net/knot/Makefile
diff -u pkgsrc/net/knot/Makefile:1.75 pkgsrc/net/knot/Makefile:1.76
--- pkgsrc/net/knot/Makefile:1.75       Wed Jul 12 20:56:03 2023
+++ pkgsrc/net/knot/Makefile    Wed Aug  2 16:17:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2023/07/12 20:56:03 nia Exp $
+# $NetBSD: Makefile,v 1.76 2023/08/02 16:17:18 nia Exp $
 
 DISTNAME=      knot-3.2.8
 CATEGORIES=    net
@@ -11,7 +11,7 @@ COMMENT=      Knot (auth) DNS server
 LICENSE=       gnu-gpl-v3
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 BUILD_DEFS+=   VARBASE
 

Index: pkgsrc/net/libmicrodns/Makefile
diff -u pkgsrc/net/libmicrodns/Makefile:1.5 pkgsrc/net/libmicrodns/Makefile:1.6
--- pkgsrc/net/libmicrodns/Makefile:1.5 Wed Jul 12 20:06:51 2023
+++ pkgsrc/net/libmicrodns/Makefile     Wed Aug  2 16:17:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/07/12 20:06:51 nia Exp $
+# $NetBSD: Makefile,v 1.6 2023/08/02 16:17:18 nia Exp $
 
 DISTNAME=      microdns-0.2.0
 PKGNAME=       ${DISTNAME:S/microdns/libmicrodns/}
@@ -14,7 +14,7 @@ COMMENT=      Minimal mDNS resolver (and anno
 LICENSE=       gnu-lgpl-v2.1
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 LDFLAGS.SunOS+=        -lsocket
 

Index: pkgsrc/net/sslh/Makefile
diff -u pkgsrc/net/sslh/Makefile:1.17 pkgsrc/net/sslh/Makefile:1.18
--- pkgsrc/net/sslh/Makefile:1.17       Wed Jul 12 20:29:57 2023
+++ pkgsrc/net/sslh/Makefile    Wed Aug  2 16:17:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2023/07/12 20:29:57 nia Exp $
+# $NetBSD: Makefile,v 1.18 2023/08/02 16:17:18 nia Exp $
 
 DISTNAME=      sslh-1.22c
 CATEGORIES=    net
@@ -16,7 +16,7 @@ MAKE_JOBS_SAFE=       no
 USE_TOOLS+=    gmake gzip pod2man
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 MAKE_FLAGS+=   USELIBWRAP=1
 

Index: pkgsrc/security/putty/Makefile
diff -u pkgsrc/security/putty/Makefile:1.76 pkgsrc/security/putty/Makefile:1.77
--- pkgsrc/security/putty/Makefile:1.76 Wed Jul 12 21:31:08 2023
+++ pkgsrc/security/putty/Makefile      Wed Aug  2 16:17:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.76 2023/07/12 21:31:08 nia Exp $
+# $NetBSD: Makefile,v 1.77 2023/08/02 16:17:18 nia Exp $
 #
 
 DISTNAME=      putty-0.78
@@ -14,7 +14,7 @@ USE_CMAKE=    yes
 USE_TOOLS+=    perl pkg-config
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 #INSTALLATION_DIRS=    bin ${PKGMANDIR}/man1
 

Index: pkgsrc/security/py-cryptodome/Makefile
diff -u pkgsrc/security/py-cryptodome/Makefile:1.49 pkgsrc/security/py-cryptodome/Makefile:1.50
--- pkgsrc/security/py-cryptodome/Makefile:1.49 Sun May 21 17:44:16 2023
+++ pkgsrc/security/py-cryptodome/Makefile      Wed Aug  2 16:17:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2023/05/21 17:44:16 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2023/08/02 16:17:18 nia Exp $
 
 DISTNAME=      pycryptodome-3.18.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
@@ -11,10 +11,10 @@ COMMENT=    Cryptographic and hash function
 LICENSE=       public-domain AND python-software-foundation
 
 # "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 # XXX is this needed?
-CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
+CFLAGS.SunOS+= -D_XOPEN_SOURCE=600
 
 CHECK_PORTABILITY_SKIP=        appveyor/get_wheels.sh
 

Index: pkgsrc/security/xmlsec1/Makefile
diff -u pkgsrc/security/xmlsec1/Makefile:1.43 pkgsrc/security/xmlsec1/Makefile:1.44
--- pkgsrc/security/xmlsec1/Makefile:1.43       Wed Jul 19 14:55:06 2023
+++ pkgsrc/security/xmlsec1/Makefile    Wed Aug  2 16:17:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2023/07/19 14:55:06 nia Exp $
+# $NetBSD: Makefile,v 1.44 2023/08/02 16:17:18 nia Exp $
 #
 
 DISTNAME=              xmlsec1-1.2.33
@@ -17,7 +17,7 @@ USE_PKGLOCALEDIR=     yes
 USE_LIBTOOL=           yes
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES=         c99
+FORCE_C_STD=           c99
 
 PKGCONFIG_OVERRIDE+=   xmlsec-gcrypt.pc.in
 PKGCONFIG_OVERRIDE+=   xmlsec-gnutls.pc.in

Index: pkgsrc/sysutils/pciutils/Makefile
diff -u pkgsrc/sysutils/pciutils/Makefile:1.54 pkgsrc/sysutils/pciutils/Makefile:1.55
--- pkgsrc/sysutils/pciutils/Makefile:1.54      Sat Jul  1 14:08:16 2023
+++ pkgsrc/sysutils/pciutils/Makefile   Wed Aug  2 16:17:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2023/07/01 14:08:16 nia Exp $
+# $NetBSD: Makefile,v 1.55 2023/08/02 16:17:18 nia Exp $
 
 DISTNAME=      pciutils-3.10.0
 CATEGORIES=    sysutils
@@ -24,12 +24,13 @@ MAKE_FLAGS+=                SHARED=yes
 
 INSTALL_TARGET=                install install-lib
 USE_TOOLS+=            gmake
-# "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES=         c99
 REPLACE_SH=            *.sh
 
 PKGCONFIG_OVERRIDE=    lib/libpci.pc.in
 
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
+FORCE_C_STD=           c99
+
 .include "../../sysutils/pciutils/libname.mk"
 
 PLIST_SUBST+=          PCIUTILS_LIBNAME=${PCIUTILS_LIBNAME}

Index: pkgsrc/sysutils/zabbix60-server/Makefile.common
diff -u pkgsrc/sysutils/zabbix60-server/Makefile.common:1.6 pkgsrc/sysutils/zabbix60-server/Makefile.common:1.7
--- pkgsrc/sysutils/zabbix60-server/Makefile.common:1.6 Thu Jul 13 10:49:56 2023
+++ pkgsrc/sysutils/zabbix60-server/Makefile.common     Wed Aug  2 16:17:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2023/07/13 10:49:56 nia Exp $
+# $NetBSD: Makefile.common,v 1.7 2023/08/02 16:17:18 nia Exp $
 # used by sysutils/zabbix60-agent/Makefile
 # used by sysutils/zabbix60-proxy/Makefile
 # used by sysutils/zabbix60-server/Makefile
@@ -14,7 +14,7 @@ HOMEPAGE=     https://www.zabbix.com/
 LICENSE=       gnu-gpl-v2
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 .include "../../mk/bsd.prefs.mk"
 

Index: pkgsrc/textproc/py-cElementTree/Makefile
diff -u pkgsrc/textproc/py-cElementTree/Makefile:1.19 pkgsrc/textproc/py-cElementTree/Makefile:1.20
--- pkgsrc/textproc/py-cElementTree/Makefile:1.19       Sat Oct  9 10:54:06 2021
+++ pkgsrc/textproc/py-cElementTree/Makefile    Wed Aug  2 16:17:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2021/10/09 10:54:06 nia Exp $
+# $NetBSD: Makefile,v 1.20 2023/08/02 16:17:19 nia Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-cElementTree-${PY_DISTVERSION}
 CATEGORIES=    textproc python
@@ -8,7 +8,7 @@ HOMEPAGE=       https://www.effbot.org/zone/ce
 COMMENT=       C implementation of Python ElementTree API
 
 # "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 USE_GCC_RUNTIME=       yes
 

Index: pkgsrc/time/py-ciso8601/Makefile
diff -u pkgsrc/time/py-ciso8601/Makefile:1.5 pkgsrc/time/py-ciso8601/Makefile:1.6
--- pkgsrc/time/py-ciso8601/Makefile:1.5        Tue Jul 11 05:39:25 2023
+++ pkgsrc/time/py-ciso8601/Makefile    Wed Aug  2 16:17:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/07/11 05:39:25 nia Exp $
+# $NetBSD: Makefile,v 1.6 2023/08/02 16:17:19 nia Exp $
 
 DISTNAME=      ciso8601-2.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,7 +11,7 @@ COMMENT=      Fast ISO8601 date time parser f
 LICENSE=       mit
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
 

Index: pkgsrc/wm/2bwm/Makefile
diff -u pkgsrc/wm/2bwm/Makefile:1.4 pkgsrc/wm/2bwm/Makefile:1.5
--- pkgsrc/wm/2bwm/Makefile:1.4 Tue Jul 11 05:37:06 2023
+++ pkgsrc/wm/2bwm/Makefile     Wed Aug  2 16:17:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2023/07/11 05:37:06 nia Exp $
+# $NetBSD: Makefile,v 1.5 2023/08/02 16:17:19 nia Exp $
 
 DISTNAME=      2bwm-0.3
 CATEGORIES=    wm
@@ -11,7 +11,7 @@ COMMENT=      Fast floating WM written over t
 LICENSE=       isc
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 SUBST_CLASSES+=                makefile
 SUBST_STAGE.makefile=  pre-build

Index: pkgsrc/www/h2o/Makefile
diff -u pkgsrc/www/h2o/Makefile:1.25 pkgsrc/www/h2o/Makefile:1.26
--- pkgsrc/www/h2o/Makefile:1.25        Tue Jul 11 05:35:42 2023
+++ pkgsrc/www/h2o/Makefile     Wed Aug  2 16:17:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2023/07/11 05:35:42 nia Exp $
+# $NetBSD: Makefile,v 1.26 2023/08/02 16:17:19 nia Exp $
 
 DISTNAME=      h2o-2.2.6
 PKGREVISION=   3
@@ -12,8 +12,7 @@ COMMENT=      Optimized HTTP server with supp
 LICENSE=       mit
 
 USE_CMAKE=             yes
-# error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES=         c99 c++
+USE_LANGUAGES=         c c++
 USE_TOOLS+=            perl:run pkg-config
 PKGCONFIG_OVERRIDE+=   libh2o-evloop.pc.in
 PKGCONFIG_OVERRIDE+=   libh2o.pc.in
@@ -23,6 +22,9 @@ CMAKE_ARGS+=          -DWITH_BUNDLED_SSL=off
 CMAKE_ARGS+=           -DWITH_MRUBY=off
 CMAKE_ARGS+=           -DBUILD_SHARED_LIBS=on
 
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD=           c99
+
 SUBST_CLASSES+=                interp
 SUBST_STAGE.interp=    post-extract
 SUBST_MESSAGE.interp=  Fixing interpreter.

Index: pkgsrc/www/py-genshi/Makefile
diff -u pkgsrc/www/py-genshi/Makefile:1.20 pkgsrc/www/py-genshi/Makefile:1.21
--- pkgsrc/www/py-genshi/Makefile:1.20  Sat Jul  1 14:11:48 2023
+++ pkgsrc/www/py-genshi/Makefile       Wed Aug  2 16:17:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2023/07/01 14:11:48 nia Exp $
+# $NetBSD: Makefile,v 1.21 2023/08/02 16:17:19 nia Exp $
 
 DISTNAME=      Genshi-0.7.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -10,12 +10,12 @@ HOMEPAGE=   https://genshi.edgewall.org/
 COMMENT=       Python toolkit for generation of output for the web
 LICENSE=       modified-bsd
 
-# "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES= c99
-
 DEPENDS+=      ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
+FORCE_C_STD=   c99
+
 PYTHON_VERSIONED_DEPENDENCIES= babel
 
 .include "../../lang/python/egg.mk"

Index: pkgsrc/www/w3m/Makefile.common
diff -u pkgsrc/www/w3m/Makefile.common:1.78 pkgsrc/www/w3m/Makefile.common:1.79
--- pkgsrc/www/w3m/Makefile.common:1.78 Sat Jul  1 14:04:32 2023
+++ pkgsrc/www/w3m/Makefile.common      Wed Aug  2 16:17:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.78 2023/07/01 14:04:32 nia Exp $
+# $NetBSD: Makefile.common,v 1.79 2023/08/02 16:17:19 nia Exp $
 #
 # used by www/w3m/Makefile
 # used by www/w3m-img/Makefile
@@ -16,12 +16,14 @@ HOMEPAGE=   http://w3m.sourceforge.net/
 WRKSRC=                ${WRKDIR}/w3m-${W3M_VERS:S/+/-/}
 
 GNU_CONFIGURE=         yes
-# error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES=         c99 c++
+USE_LANGUAGES=         c c++
 USE_TOOLS+=            gmake   # Needed for some combinations of options...
 USE_TOOLS+=            msgfmt
 USE_PKGLOCALEDIR=      yes
 
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD=   c99
+
 W3M_VERS=      0.5.3+git20230121
 W3M_PKGVERS=   ${W3M_VERS:S/+git/.0./}
 

Index: pkgsrc/x11/gtk3/Makefile
diff -u pkgsrc/x11/gtk3/Makefile:1.186 pkgsrc/x11/gtk3/Makefile:1.187
--- pkgsrc/x11/gtk3/Makefile:1.186      Thu Jul  6 12:06:46 2023
+++ pkgsrc/x11/gtk3/Makefile    Wed Aug  2 16:17:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.186 2023/07/06 12:06:46 jperkin Exp $
+# $NetBSD: Makefile,v 1.187 2023/08/02 16:17:19 nia Exp $
 
 DISTNAME=      gtk+-3.24.38
 PKGNAME=       ${DISTNAME:S/gtk/gtk3/}
@@ -14,12 +14,14 @@ LICENSE=    gnu-lgpl-v2.1
 TOOL_DEPENDS+= gettext-tools>=0.19.4nb1:../../devel/gettext-tools
 TOOL_DEPENDS+= gtk-doc>=1.32:../../textproc/gtk-doc
 
-# "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES=         c99 c++
+USE_LANGUAGES=         c c++
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            bash gdbus-codegen ggrep msgmerge perl pkg-config xgettext
 PTHREAD_AUTO_VARS=     yes
 
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
+FORCE_C_STD=   c99
+
 MESON_ARGS+=   -Dgtk_doc=true
 MESON_ARGS+=   -Dman=true
 MESON_ARGS+=   --localedir=${PREFIX}/${PKGLOCALEDIR}/locale

Index: pkgsrc/x11/hsetroot/Makefile
diff -u pkgsrc/x11/hsetroot/Makefile:1.31 pkgsrc/x11/hsetroot/Makefile:1.32
--- pkgsrc/x11/hsetroot/Makefile:1.31   Fri Jul 21 12:29:21 2023
+++ pkgsrc/x11/hsetroot/Makefile        Wed Aug  2 16:17:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2023/07/21 12:29:21 jperkin Exp $
+# $NetBSD: Makefile,v 1.32 2023/08/02 16:17:19 nia Exp $
 
 DISTNAME=      hsetroot-1.0.5
 PKGREVISION=   1
@@ -11,8 +11,9 @@ COMMENT=      Allows you to compose wallpaper
 LICENSE=       gnu-gpl-v2
 
 USE_TOOLS+=    gmake pkg-config
+
 # error: 'for' loop initial declarations are only allowed in C99 mode
-USE_LANGUAGES= c99
+FORCE_C_STD=   c99
 
 BUILDLINK_TRANSFORM.Darwin+=   rm:-Wl,--no-as-needed
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--no-as-needed

Index: pkgsrc/x11/tint2/Makefile
diff -u pkgsrc/x11/tint2/Makefile:1.69 pkgsrc/x11/tint2/Makefile:1.70
--- pkgsrc/x11/tint2/Makefile:1.69      Sun Jul  9 09:09:11 2023
+++ pkgsrc/x11/tint2/Makefile   Wed Aug  2 16:17:20 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2023/07/09 09:09:11 nia Exp $
+# $NetBSD: Makefile,v 1.70 2023/08/02 16:17:20 nia Exp $
 
 DISTNAME=              tint2-v17.0.2
 PKGNAME=               ${DISTNAME:S/-v/-/}
@@ -14,13 +14,15 @@ HOMEPAGE=           https://gitlab.com/o9000/tint
 COMMENT=               Lightweight panel/taskbar for X11
 LICENSE=               gnu-gpl-v2
 
-# error: 'for' loop initial declarations are only allowed in C99 mode
 # XXX CMake. pkg does not really need c++
-USE_LANGUAGES=         c99 c++
+USE_LANGUAGES=         c c++
 USE_CMAKE=             yes
 USE_LIBTOOL=           yes
 USE_TOOLS+=            msgfmt msgmerge pkg-config
 
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD=           c99
+
 INSTALLATION_DIRS=     share/examples/tint2
 OWN_DIRS=              ${PKG_SYSCONFDIR}/xdg/tint2
 CONF_FILES=            ${PREFIX}/share/examples/tint2/tint2rc \

Index: pkgsrc/x11/xtrlock/Makefile
diff -u pkgsrc/x11/xtrlock/Makefile:1.3 pkgsrc/x11/xtrlock/Makefile:1.4
--- pkgsrc/x11/xtrlock/Makefile:1.3     Thu Mar  2 15:29:41 2023
+++ pkgsrc/x11/xtrlock/Makefile Wed Aug  2 16:17:20 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/03/02 15:29:41 vins Exp $
+# $NetBSD: Makefile,v 1.4 2023/08/02 16:17:20 nia Exp $
 
 DISTNAME=      xtrlock-2.15
 PKGREVISION=   1
@@ -11,12 +11,11 @@ MAINTAINER= vins%NetBSD.org@localhost
 COMMENT=       Simple X11 screen lock tool
 LICENSE=       gnu-gpl-v3
 
-# support 'for' loop initial declarations
-USE_LANGUAGES= c99
 USE_IMAKE=     yes
 
 # mitigate CVE-2016-10894
-CFLAGS+=       -std=c99 -DMULTITOUCH
+CFLAGS+=       -DMULTITOUCH
+FORCE_C_STD=   c99
 LDFLAGS+=      -lXi
 
 .include "../../mk/bsd.prefs.mk"

Index: pkgsrc/x11/zenity/Makefile
diff -u pkgsrc/x11/zenity/Makefile:1.109 pkgsrc/x11/zenity/Makefile:1.110
--- pkgsrc/x11/zenity/Makefile:1.109    Sat Jul  1 14:12:58 2023
+++ pkgsrc/x11/zenity/Makefile  Wed Aug  2 16:17:20 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.109 2023/07/01 14:12:58 nia Exp $
+# $NetBSD: Makefile,v 1.110 2023/08/02 16:17:20 nia Exp $
 #
 
 DISTNAME=      zenity-3.41.0
@@ -16,7 +16,7 @@ USE_TOOLS+=           pkg-config perl:run
 USE_TOOLS+=            itstool msgfmt
 
 # "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES=         c99
+FORCE_C_STD=           c99
 
 TOOL_DEPENDS+=         yelp-tools-[0-9]*:../../textproc/yelp-tools
 



Home | Main Index | Thread Index | Old Index