Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 07:10:08 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479979 - in head: audio/volumeicon games/xroach graphics/gauche-gl lang/opencoarrays net-im/prosody net-im/toxins net/bird2 sysutils/mtm textproc/uncle www/p5-HTML5-DOM
Message-ID:  <201809180710.w8I7A80L027753@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Tue Sep 18 07:10:07 2018
New Revision: 479979
URL: https://svnweb.freebsd.org/changeset/ports/479979

Log:
  Add gnu99 to USE_CSTD to fix builds on gcc-based archs.
  
  Tested on powerpc64, amd64.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/audio/volumeicon/Makefile
  head/games/xroach/Makefile
  head/graphics/gauche-gl/Makefile
  head/lang/opencoarrays/Makefile
  head/net-im/prosody/Makefile
  head/net-im/toxins/Makefile
  head/net/bird2/Makefile
  head/sysutils/mtm/Makefile
  head/textproc/uncle/Makefile
  head/www/p5-HTML5-DOM/Makefile

Modified: head/audio/volumeicon/Makefile
==============================================================================
--- head/audio/volumeicon/Makefile	Tue Sep 18 06:52:59 2018	(r479978)
+++ head/audio/volumeicon/Makefile	Tue Sep 18 07:10:07 2018	(r479979)
@@ -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
 

Modified: head/games/xroach/Makefile
==============================================================================
--- head/games/xroach/Makefile	Tue Sep 18 06:52:59 2018	(r479978)
+++ head/games/xroach/Makefile	Tue Sep 18 07:10:07 2018	(r479979)
@@ -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:

Modified: head/graphics/gauche-gl/Makefile
==============================================================================
--- head/graphics/gauche-gl/Makefile	Tue Sep 18 06:52:59 2018	(r479978)
+++ head/graphics/gauche-gl/Makefile	Tue Sep 18 07:10:07 2018	(r479979)
@@ -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

Modified: head/lang/opencoarrays/Makefile
==============================================================================
--- head/lang/opencoarrays/Makefile	Tue Sep 18 06:52:59 2018	(r479978)
+++ head/lang/opencoarrays/Makefile	Tue Sep 18 07:10:07 2018	(r479979)
@@ -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

Modified: head/net-im/prosody/Makefile
==============================================================================
--- head/net-im/prosody/Makefile	Tue Sep 18 06:52:59 2018	(r479978)
+++ head/net-im/prosody/Makefile	Tue Sep 18 07:10:07 2018	(r479979)
@@ -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/luaso
 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

Modified: head/net-im/toxins/Makefile
==============================================================================
--- head/net-im/toxins/Makefile	Tue Sep 18 06:52:59 2018	(r479978)
+++ head/net-im/toxins/Makefile	Tue Sep 18 07:10:07 2018	(r479979)
@@ -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

Modified: head/net/bird2/Makefile
==============================================================================
--- head/net/bird2/Makefile	Tue Sep 18 06:52:59 2018	(r479978)
+++ head/net/bird2/Makefile	Tue Sep 18 07:10:07 2018	(r479979)
@@ -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

Modified: head/sysutils/mtm/Makefile
==============================================================================
--- head/sysutils/mtm/Makefile	Tue Sep 18 06:52:59 2018	(r479978)
+++ head/sysutils/mtm/Makefile	Tue Sep 18 07:10:07 2018	(r479979)
@@ -12,6 +12,7 @@ LICENSE_FILE=	${WRKSRC}/README.rst
 
 USES=		ncurses
 
+USE_CSTD=	gnu99
 USE_GITHUB=	yes
 GH_ACCOUNT=	deadpixi
 GH_TAGNAME=	b861104

Modified: head/textproc/uncle/Makefile
==============================================================================
--- head/textproc/uncle/Makefile	Tue Sep 18 06:52:59 2018	(r479978)
+++ head/textproc/uncle/Makefile	Tue Sep 18 07:10:07 2018	(r479979)
@@ -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
 

Modified: head/www/p5-HTML5-DOM/Makefile
==============================================================================
--- head/www/p5-HTML5-DOM/Makefile	Tue Sep 18 06:52:59 2018	(r479978)
+++ head/www/p5-HTML5-DOM/Makefile	Tue Sep 18 07:10:07 2018	(r479979)
@@ -13,6 +13,7 @@ COMMENT=		Super fast html5 DOM library with css select
 LICENSE=		MIT
 
 USES=			perl5
+USE_CSTD=		gnu99
 USE_PERL5=		configure
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809180710.w8I7A80L027753>