- fix 64-bit issues due to missing headers
This commit is contained in:
parent
6665fc05cf
commit
54c991f608
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.12 2007/10/08 08:22:42 steven Exp $
|
||||
# $OpenBSD: Makefile,v 1.13 2009/03/25 20:14:23 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= Python Cryptographic Toolkit
|
||||
|
||||
DISTNAME= cryptkit-0.9
|
||||
PKGNAME= py-${DISTNAME}p1
|
||||
PKGNAME= py-${DISTNAME}p3
|
||||
CATEGORIES= security devel
|
||||
|
||||
HOMEPAGE= http://eevolved.com/cryptkit/
|
||||
|
14
security/py-cryptkit/patches/patch-ecc_src_onb_integer_c
Normal file
14
security/py-cryptkit/patches/patch-ecc_src_onb_integer_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-ecc_src_onb_integer_c,v 1.1 2009/03/25 20:14:23 jasper Exp $
|
||||
|
||||
Fix potential 64-bit issue due to missing header.
|
||||
|
||||
--- ecc/src/onb_integer.c.orig Wed Mar 25 21:11:34 2009
|
||||
+++ ecc/src/onb_integer.c Wed Mar 25 21:11:57 2009
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "bigint.h"
|
||||
#include "eliptic.h"
|
14
security/py-cryptkit/patches/patch-sha256_src_sha2_c
Normal file
14
security/py-cryptkit/patches/patch-sha256_src_sha2_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-sha256_src_sha2_c,v 1.1 2009/03/25 20:14:23 jasper Exp $
|
||||
|
||||
Fix potential 64-bit issue due to missing header.
|
||||
|
||||
--- sha256/src/sha2.c.orig Wed Mar 25 21:12:12 2009
|
||||
+++ sha256/src/sha2.c Wed Mar 25 21:12:28 2009
|
||||
@@ -37,6 +37,7 @@
|
||||
*/
|
||||
|
||||
|
||||
+#include <stdlib.h>
|
||||
#include <string.h> /* memcpy()/memset() or bcopy()/bzero() */
|
||||
#include <assert.h> /* assert() */
|
||||
#include "sha2.h"
|
Loading…
Reference in New Issue
Block a user