*: Use FORCE_C_STD=c99 for C packages that use for loop initial
declarations without setting -std=c99.
This commit is contained in:
parent
25bea22132
commit
f65eb62603
|
@ -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
|
||||
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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 AND gnu-gpl-v2 AND mpl-2.0
|
|||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 lossless compression library
|
|||
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
|
||||
|
||||
|
|
|
@ -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]*:../../textproc/docbook-xsl
|
|||
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
|
||||
|
||||
|
|
|
@ -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 later analysis
|
|||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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-[0-9]*:../../devel/py-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
|
||||
|
||||
|
|
|
@ -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 Caprice32 Amstrad CPC emulator
|
|||
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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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]*:../../graphics/icoutils
|
|||
|
||||
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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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/mojoshader/
|
|||
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
|
||||
|
|
|
@ -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/LPCNet
|
|||
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_OPTIMIZATION=TRUE
|
|||
#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/
|
||||
|
|
|
@ -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]*:../../devel/py-nose
|
|||
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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 announcer) cross-platform library
|
|||
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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 functions for Python
|
|||
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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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/celementtree.htm
|
|||
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
|
||||
|
||||
|
|
|
@ -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 for Python written in C
|
|||
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
|
||||
|
||||
|
|
|
@ -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 the XCB library and derived from mcwm
|
|||
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
|
||||
|
|
|
@ -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 support for HTTP/1.x and HTTP/2
|
|||
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.
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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./}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 wallpapers for X
|
|||
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
|
||||
|
|
|
@ -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/tint2
|
|||
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 \
|
||||
|
|
|
@ -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
|
|||
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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue