LP64 fixes: fetch function prototypes

This commit is contained in:
naddy 2010-05-28 15:57:12 +00:00
parent 35cc2c3bc8
commit 25b6d36ba4
3 changed files with 21 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.17 2010/04/15 13:27:48 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.18 2010/05/28 15:57:12 naddy Exp $
COMMENT= Samba security scanner
DISTNAME= ADMsmb-v0.2
PKGNAME= ADMsmb-0.2p1
PKGNAME= ADMsmb-0.2p2
CATEGORIES= security
EXTRACT_SUFX= .tgz

View File

@ -1,7 +1,11 @@
$OpenBSD: patch-includes_h,v 1.2 2010/05/24 10:15:20 espie Exp $
$OpenBSD: patch-includes_h,v 1.3 2010/05/28 15:57:12 naddy Exp $
--- includes.h.orig Tue Aug 4 17:37:17 1998
+++ includes.h Sat May 22 16:32:32 2010
@@ -565,6 +565,9 @@ char *mktemp(char *); /* No standard include */
+++ includes.h Fri May 28 17:51:59 2010
@@ -562,9 +562,13 @@ char *mktemp(char *); /* No standard include */
#ifdef __OpenBSD__
#include <strings.h>
+#include <arpa/inet.h>
#include <netinet/tcp.h>
#define NO_GETSPNAM
#define SIGNAL_CAST (void (*)())

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-md4_c,v 1.1 2010/05/28 15:57:12 naddy Exp $
--- md4.c.orig Fri May 28 17:54:52 2010
+++ md4.c Fri May 28 17:55:07 2010
@@ -25,6 +25,8 @@
It assumes that a int is at least 32 bits long
*/
+#include <string.h>
+
typedef unsigned int uint32;
static uint32 A, B, C, D;