pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-lxml



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Feb 16 08:15:33 UTC 2024

Modified Files:
        pkgsrc/textproc/py-lxml: Makefile

Log Message:
py-lxml: fix build with compilers that default to c89.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 pkgsrc/textproc/py-lxml/Makefile

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

Modified files:

Index: pkgsrc/textproc/py-lxml/Makefile
diff -u pkgsrc/textproc/py-lxml/Makefile:1.101 pkgsrc/textproc/py-lxml/Makefile:1.102
--- pkgsrc/textproc/py-lxml/Makefile:1.101      Mon Jan 15 11:44:00 2024
+++ pkgsrc/textproc/py-lxml/Makefile    Fri Feb 16 08:15:33 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2024/01/15 11:44:00 wiz Exp $
+# $NetBSD: Makefile,v 1.102 2024/02/16 08:15:33 nia Exp $
 
 DISTNAME=      lxml-5.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,6 +16,10 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-cssselect>
 
 USE_CC_FEATURES=       c99
 
+# pycore_frame.h:134:5: error:
+# 'for' loop initial declarations are only allowed in C99 mode
+FORCE_CXX_STD=         gnu99
+
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index