Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2020 18:29:09 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552142 - head/devel/py-sysctl
Message-ID:  <202010121829.09CIT9gx056843@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Oct 12 18:29:09 2020
New Revision: 552142
URL: https://svnweb.freebsd.org/changeset/ports/552142

Log:
  devel/py-sysctl: fix build on GCC architectures
  
  Use C99:
  sysctl/_sysctl.c:427: error: 'for' loop initial declaration used outside C99 mode

Modified:
  head/devel/py-sysctl/Makefile

Modified: head/devel/py-sysctl/Makefile
==============================================================================
--- head/devel/py-sysctl/Makefile	Mon Oct 12 18:25:13 2020	(r552141)
+++ head/devel/py-sysctl/Makefile	Mon Oct 12 18:29:09 2020	(r552142)
@@ -12,6 +12,7 @@ COMMENT=	Wrapper for the sysctl system functions
 LICENSE=	BSD2CLAUSE
 
 USES=		python
+USE_CSTD=	c99
 USE_PYTHON=	distutils autoplist
 
 USE_GITHUB=	yes



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