pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-cryptodome py-cryptodome: Fails with a com...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8b2f040e726
branches:  trunk
changeset: 386205:d8b2f040e726
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Oct 03 11:36:42 2022 +0000

description:
py-cryptodome: Fails with a compiler defaulting to c89

diffstat:

 security/py-cryptodome/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 5ac144aeac85 -r d8b2f040e726 security/py-cryptodome/Makefile
--- a/security/py-cryptodome/Makefile   Mon Oct 03 11:27:40 2022 +0000
+++ b/security/py-cryptodome/Makefile   Mon Oct 03 11:36:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2022/07/05 08:16:14 adam Exp $
+# $NetBSD: Makefile,v 1.44 2022/10/03 11:36:42 nia Exp $
 
 DISTNAME=      pycryptodome-3.15.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
@@ -10,6 +10,9 @@
 COMMENT=       Cryptographic and hash functions for Python
 LICENSE=       public-domain AND python-software-foundation
 
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
+USE_LANGUAGES= c99
+
 # XXX is this needed?
 CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
 



Home | Main Index | Thread Index | Old Index