Add gnu99 to USE_CSTD to fix builds on gcc-based archs.

Tested on powerpc64, amd64.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon
2018-09-18 07:10:07 +00:00
parent 98ab7a4425
commit 8bf23c2df5
10 changed files with 10 additions and 8 deletions

View File

@@ -10,8 +10,6 @@ COMMENT= Lightweight volume control for the systray
LICENSE= GPLv3
BROKEN_powerpc64= fails to build: oss3_backend.c:80: 'for' loop initial declaration used outside C99 mode
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-oss=v3 \
--with-oss-include-path=/usr/include/sys
@@ -21,6 +19,7 @@ LIBS+= -L${LOCALBASE}/lib
USES= autoreconf gmake gettext pkgconfig
USE_GNOME= gtk30 intltool cairo gdkpixbuf2
USE_XORG= x11
USE_CSTD= gnu99
USE_GITHUB= yes
GH_ACCOUNT= Maato

View File

@@ -23,6 +23,7 @@ BINMODE= 755
USES= imake
USE_XORG= x11 xext
USE_CSTD= gnu99
PLIST_FILES= bin/xroach man/man6/xroach.6.gz
do-install:

View File

@@ -19,6 +19,7 @@ BUILD_DEPENDS= gosh:lang/gauche
RUN_DEPENDS= gosh:lang/gauche
USES= localbase makeinfo tar:tgz
USE_CSTD= gnu99
USE_XORG= ice sm x11 xext xmu xi
USE_GL= gl glu glut
GNU_CONFIGURE= yes

View File

@@ -18,6 +18,7 @@ BUILD_DEPENDS= bash:shells/bash
RUN_DEPENDS= bash:shells/bash
USES= cmake:outsource fortran
USE_CSTD= gnu99
USE_GITHUB= yes
GH_ACCOUNT= sourceryinstitute
GH_PROJECT= OpenCoarrays

View File

@@ -13,8 +13,6 @@ COMMENT= Simple extensible XMPP server written in Lua
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to compile: table.c:14: 'for' loop initial declaration used outside C99 mode
RUN_DEPENDS= ${LUA_MODLIBDIR}/socket/core.so:net/luasocket-51 \
${LUA_MODLIBDIR}/ssl.so:security/luasec-51 \
${LUA_MODLIBDIR}/lxp.so:textproc/luaexpat-51 \
@@ -23,6 +21,7 @@ RUN_DEPENDS= ${LUA_MODLIBDIR}/socket/core.so:net/luasocket-51 \
LIB_DEPENDS= libidn.so:dns/libidn
USES= cpe gmake lua:51 shebangfix ssl
USE_CSTD= c99
SHEBANG_FILES= prosody prosodyctl
LUA_PREMK= yes
HAS_CONFIGURE= yes

View File

@@ -15,6 +15,7 @@ LIB_DEPENDS= libsodium.so:security/libsodium \
libtoxcore.so:net-im/tox
USES= gmake pkgconfig
USE_CSTD= gnu99
USE_GITHUB= yes
GH_ACCOUNT= TokTok
GH_TAGNAME= f76a7bd

View File

@@ -13,14 +13,13 @@ COMMENT= Dynamic IP routing daemon
LICENSE= GPLv2
BROKEN_powerpc64= fails to compile: ./lib/ip.h:337: 'for' loop initial declaration used outside C99 mode
LIB_DEPENDS= libssh.so:security/libssh
CONFLICTS= bird-[0-9]*
CONFLICTS+= bird6-[0-9]*
USES= bison gmake ncurses readline
USE_CSTD= gnu99
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var
USE_RC_SUBR= bird

View File

@@ -12,6 +12,7 @@ LICENSE_FILE= ${WRKSRC}/README.rst
USES= ncurses
USE_CSTD= gnu99
USE_GITHUB= yes
GH_ACCOUNT= deadpixi
GH_TAGNAME= b861104

View File

@@ -12,8 +12,7 @@ LICENSE= BSD2CLAUSE
LIB_DEPENDS= libucl.so:textproc/libucl
BROKEN_powerpc64= fails to compile: uncle.c: 'for' loop initial declaration used outside C99 mode
USE_CSTD= c99
USE_GITHUB= yes
GH_ACCOUNT= MagikBSD

View File

@@ -13,6 +13,7 @@ COMMENT= Super fast html5 DOM library with css selectors
LICENSE= MIT
USES= perl5
USE_CSTD= gnu99
USE_PERL5= configure
.include <bsd.port.mk>