pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-expat py-expat: switch to c11 for compilation



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69b826781032
branches:  trunk
changeset: 387571:69b826781032
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Nov 01 18:25:36 2022 +0000

description:
py-expat: switch to c11 for compilation

Needed by python 3.11 version due to using static_assert()

Bump PKGREVISION.

diffstat:

 textproc/py-expat/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r f4817146f432 -r 69b826781032 textproc/py-expat/Makefile
--- a/textproc/py-expat/Makefile        Tue Nov 01 17:59:05 2022 +0000
+++ b/textproc/py-expat/Makefile        Tue Nov 01 18:25:36 2022 +0000
@@ -1,14 +1,15 @@
-# $NetBSD: Makefile,v 1.32 2021/10/09 10:55:00 nia Exp $
+# $NetBSD: Makefile,v 1.33 2022/11/01 18:25:36 wiz Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-expat-${PY_DISTVERSION}
+PKGREVISION=   1
 CATEGORIES=    textproc python
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.python.org/
 COMMENT=       Python interface to expat
 
-# "error: 'for' loop initial declarations are only allowed in C99 mode"
-USE_LANGUAGES= c99
+# static_assert()
+USE_LANGUAGES= c11
 
 USE_GCC_RUNTIME=       yes
 



Home | Main Index | Thread Index | Old Index