Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2018 05:08:54 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484501 - head/net-mgmt/statsite
Message-ID:  <201811090508.wA958sAK014522@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Nov  9 05:08:54 2018
New Revision: 484501
URL: https://svnweb.freebsd.org/changeset/ports/484501

Log:
  net-mgmt/statsite: Fix build with GCC 4.2 (gnu89 by default)
  
  /nxb-bin/usr/bin/cc  -O2 -pipe -G0 -EB -mabi=64 -msoft-float  -fno-strict-aliasing  -c ./MurmurHash3.c -o ./MurmurHash3.o
  ./MurmurHash3.c: In function 'MurmurHash3_x64_128':
  ./MurmurHash3.c:66: error: 'for' loop initial declaration used outside C99 mode
  
  http://beefy16.nyi.freebsd.org/data/120mips64-quarterly/484420/logs/statsite-0.8.0_2.log

Modified:
  head/net-mgmt/statsite/Makefile

Modified: head/net-mgmt/statsite/Makefile
==============================================================================
--- head/net-mgmt/statsite/Makefile	Fri Nov  9 04:21:15 2018	(r484500)
+++ head/net-mgmt/statsite/Makefile	Fri Nov  9 05:08:54 2018	(r484501)
@@ -14,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		autoreconf python:env
 GNU_CONFIGURE=	yes
+USE_CSTD=	gnu99
 USE_GITHUB=	yes
 GH_ACCOUNT=	armon
 



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