svn commit: r552142 - head/devel/py-sysctl

Piotr Kubaj pkubaj at FreeBSD.org
Mon Oct 12 18:29:10 UTC 2020


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


More information about the svn-ports-head mailing list