pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-cryptodome



Module Name:    pkgsrc
Committed By:   maya
Date:           Fri Dec 30 23:02:57 UTC 2016

Modified Files:
        pkgsrc/security/py-cryptodome: distinfo
        pkgsrc/security/py-cryptodome/patches: patch-src_pycrypto__common.h

Log Message:
SunOS needs alloca.h, so include in its case too.

Pointed out by kamil, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/py-cryptodome/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/security/py-cryptodome/patches/patch-src_pycrypto__common.h

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

Modified files:

Index: pkgsrc/security/py-cryptodome/distinfo
diff -u pkgsrc/security/py-cryptodome/distinfo:1.1 pkgsrc/security/py-cryptodome/distinfo:1.2
--- pkgsrc/security/py-cryptodome/distinfo:1.1  Fri Dec 30 22:32:54 2016
+++ pkgsrc/security/py-cryptodome/distinfo      Fri Dec 30 23:02:57 2016
@@ -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

Index: pkgsrc/security/py-cryptodome/patches/patch-src_pycrypto__common.h
diff -u pkgsrc/security/py-cryptodome/patches/patch-src_pycrypto__common.h:1.1 pkgsrc/security/py-cryptodome/patches/patch-src_pycrypto__common.h:1.2
--- pkgsrc/security/py-cryptodome/patches/patch-src_pycrypto__common.h:1.1      Fri Dec 30 22:32:54 2016
+++ pkgsrc/security/py-cryptodome/patches/patch-src_pycrypto__common.h  Fri Dec 30 23:02:57 2016
@@ -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 @@ for NetBSD, alloca is in stdlib.h
  
  #else
  #include <stdint.h>
-+#ifdef __linux__
++#if defined(__linux__) || defined(__sun)
  #include <alloca.h>
 +#endif /* !linux */
  #endif



Home | Main Index | Thread Index | Old Index