pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-numpy



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Oct 21 19:43:07 UTC 2020

Modified Files:
        pkgsrc/math/py-numpy: Makefile

Log Message:
py-numpy: Assumes the compiler defaults to c99. Force -std=c99.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/math/py-numpy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-numpy/Makefile
diff -u pkgsrc/math/py-numpy/Makefile:1.71 pkgsrc/math/py-numpy/Makefile:1.72
--- pkgsrc/math/py-numpy/Makefile:1.71  Mon Oct 12 21:51:58 2020
+++ pkgsrc/math/py-numpy/Makefile       Wed Oct 21 19:43:07 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2020/10/12 21:51:58 bacon Exp $
+# $NetBSD: Makefile,v 1.72 2020/10/21 19:43:07 nia Exp $
 
 DISTNAME=      numpy-1.19.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,7 +16,8 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-hypothesis
 TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-USE_LANGUAGES=         c fortran
+# error: 'for' loop initial declarations are only allowed in C99 mode
+USE_LANGUAGES=         c99 fortran
 MAKE_ENV+=             ATLAS=None
 
 REPLACE_PYTHON+=       *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py



Home | Main Index | Thread Index | Old Index