- fix 64-bit issues due to missing headers

This commit is contained in:
jasper 2009-03-25 20:14:23 +00:00
parent 6665fc05cf
commit 54c991f608
3 changed files with 30 additions and 2 deletions

View File

@ -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/

View 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"

View 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"