pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-cython



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jul 28 11:56:32 UTC 2024

Modified Files:
        pkgsrc/devel/py-cython: Makefile

Log Message:
py-cython: force c99 compilers

This package already claims it needs a c99 compiler.
Following PR 58475 by Phil Krylov, let's force it to use one.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 pkgsrc/devel/py-cython/Makefile

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

Modified files:

Index: pkgsrc/devel/py-cython/Makefile
diff -u pkgsrc/devel/py-cython/Makefile:1.93 pkgsrc/devel/py-cython/Makefile:1.94
--- pkgsrc/devel/py-cython/Makefile:1.93        Sun May 26 01:59:19 2024
+++ pkgsrc/devel/py-cython/Makefile     Sun Jul 28 11:56:32 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.93 2024/05/26 01:59:19 gutteridge Exp $
+# $NetBSD: Makefile,v 1.94 2024/07/28 11:56:32 wiz Exp $
 
 DISTNAME=      Cython-3.0.10
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -20,6 +20,8 @@ REPLACE_PYTHON+=      Cython/Debugger/libpyth
 REPLACE_PYTHON+=       cython.py
 
 USE_CC_FEATURES=       c99
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD+=          c99
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 



Home | Main Index | Thread Index | Old Index