pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/py-cryptodome SunOS needs alloca.h, so includ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6688e6c8212b
branches: trunk
changeset: 356423:6688e6c8212b
user: maya <maya%pkgsrc.org@localhost>
date: Fri Dec 30 23:02:57 2016 +0000
description:
SunOS needs alloca.h, so include in its case too.
Pointed out by kamil, thanks.
diffstat:
security/py-cryptodome/distinfo | 4 ++--
security/py-cryptodome/patches/patch-src_pycrypto__common.h | 7 +++----
2 files changed, 5 insertions(+), 6 deletions(-)
diffs (35 lines):
diff -r d47592786ec4 -r 6688e6c8212b security/py-cryptodome/distinfo
--- a/security/py-cryptodome/distinfo Fri Dec 30 22:50:15 2016 +0000
+++ b/security/py-cryptodome/distinfo Fri Dec 30 23:02:57 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2016/12/30 22:32:54 maya Exp $
+$NetBSD: distinfo,v 1.2 2016/12/30 23:02:57 maya Exp $
SHA1 (pycryptodome-3.4.3.tar.gz) = 1be4c06e91f22fc0b566e019e0a5278b6a0208bb
RMD160 (pycryptodome-3.4.3.tar.gz) = 29b2ffcb54dbb7fbec75d6db7581b14319d91e59
SHA512 (pycryptodome-3.4.3.tar.gz) = ef011825aaad3db45ade9b466c3301cf9fc5b8806a34fad047e25e458371b5947b9e345f3ee557b334b8b17f4a1b61c44c0512eed37bc83c6bf04c2d54c7031b
Size (pycryptodome-3.4.3.tar.gz) = 6494152 bytes
-SHA1 (patch-src_pycrypto__common.h) = dda4729cda89c637cb572fd9a924391fd48b5505
+SHA1 (patch-src_pycrypto__common.h) = db02f02eaf08fff27b29adde7777919ba045c7bb
diff -r d47592786ec4 -r 6688e6c8212b security/py-cryptodome/patches/patch-src_pycrypto__common.h
--- a/security/py-cryptodome/patches/patch-src_pycrypto__common.h Fri Dec 30 22:50:15 2016 +0000
+++ b/security/py-cryptodome/patches/patch-src_pycrypto__common.h Fri Dec 30 23:02:57 2016 +0000
@@ -1,7 +1,6 @@
-$NetBSD: patch-src_pycrypto__common.h,v 1.1 2016/12/30 22:32:54 maya Exp $
+$NetBSD: patch-src_pycrypto__common.h,v 1.2 2016/12/30 23:02:57 maya Exp $
-alloca.h appears to be a linux only header.
-for NetBSD, alloca is in stdlib.h
+BSDs generally don't have alloca.h, Sun needs it
--- src/pycrypto_common.h.orig 2016-10-16 20:19:30.000000000 +0000
+++ src/pycrypto_common.h
@@ -9,7 +8,7 @@
#else
#include <stdint.h>
-+#ifdef __linux__
++#if defined(__linux__) || defined(__sun)
#include <alloca.h>
+#endif /* !linux */
#endif
Home |
Main Index |
Thread Index |
Old Index