diff options
author | wiz <wiz@pkgsrc.org> | 2006-01-20 22:09:11 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-01-20 22:09:11 +0000 |
commit | 006c9a506e152b0183ce2b3c62f58222ca709ac4 (patch) | |
tree | a7cd10fef9375d99c7aa82c81790a9bb090d0ef3 /security/py-m2crypto | |
parent | f56a08514414022ea0510934bb1a880d55607fe5 (diff) | |
download | pkgsrc-006c9a506e152b0183ce2b3c62f58222ca709ac4.tar.gz |
long != time_t on x86_64; add patch trying to fix resulting build problem.
Diffstat (limited to 'security/py-m2crypto')
-rw-r--r-- | security/py-m2crypto/distinfo | 3 | ||||
-rw-r--r-- | security/py-m2crypto/patches/patch-ab | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/security/py-m2crypto/distinfo b/security/py-m2crypto/distinfo index fe1c7d83ac1..f9ef9ec74fd 100644 --- a/security/py-m2crypto/distinfo +++ b/security/py-m2crypto/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2006/01/14 23:07:26 wiz Exp $ +$NetBSD: distinfo,v 1.5 2006/01/20 22:09:11 wiz Exp $ SHA1 (m2crypto-0.13.zip) = 53b722f6ca9a3661c42c18360b158f3e7ac5b5c2 RMD160 (m2crypto-0.13.zip) = b2477dff6f49a80ab5508f18837009b4a634a0df @@ -7,5 +7,6 @@ SHA1 (0.13p1.patch) = e3a097459626f7f016d9f1e118776fa7c97d6328 RMD160 (0.13p1.patch) = 3ed0aacb7f2d09208e9a6d70a69fbb96fe9c3ad0 Size (0.13p1.patch) = 1645 bytes SHA1 (patch-aa) = bd3195f30548525ae8b3fa13010d39a63bb2abd7 +SHA1 (patch-ab) = 195f1de648c2c2d721aa241fa39eddcf03e89159 SHA1 (patch-ac) = ec2d96afcd36157babeb7baa5f5d1c7e2102a57d SHA1 (patch-ad) = d19867bfe01323772de76dbe0711d29c33505d2d diff --git a/security/py-m2crypto/patches/patch-ab b/security/py-m2crypto/patches/patch-ab new file mode 100644 index 00000000000..e0ad7e33cc0 --- /dev/null +++ b/security/py-m2crypto/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1 2006/01/20 22:09:11 wiz Exp $ + +--- SWIG/_asn1.i.orig 2004-03-21 12:34:38.000000000 +0000 ++++ SWIG/_asn1.i +@@ -3,6 +3,7 @@ + + %{ + #include <openssl/asn1.h> ++#include <time.h> + %} + + %apply Pointer NONNULL { BIO * }; +@@ -25,7 +26,7 @@ + %name(asn1_utctime_new) extern ASN1_UTCTIME *ASN1_UTCTIME_new( void ); + %name(asn1_utctime_free) extern void ASN1_UTCTIME_free(ASN1_UTCTIME *); + %name(asn1_utctime_check) extern int ASN1_UTCTIME_check(ASN1_UTCTIME *); +-%name(asn1_utctime_set) extern ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *, long); ++%name(asn1_utctime_set) extern ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *, time_t); + %name(asn1_utctime_set_string) extern int ASN1_UTCTIME_set_string(ASN1_UTCTIME *, char *); + %name(asn1_utctime_print) extern int ASN1_UTCTIME_print(BIO *, ASN1_UTCTIME *); + |