openbsd-ports/archivers/unshield/patches/patch-lib_file_c
jsg bc59701678 Use libc md5 code rather than included broken md5 code.
Makes unshield work properly on amd64 and probably other 64bit archs.
2006-10-18 13:47:36 +00:00

24 lines
582 B
Plaintext

$OpenBSD: patch-lib_file_c,v 1.2 2006/10/18 13:47:36 jsg Exp $
--- lib/file.c.orig Wed Jun 29 04:49:36 2005
+++ lib/file.c Wed Oct 18 23:10:28 2006
@@ -1,14 +1,14 @@
/* $Id: patch-lib_file_c,v 1.2 2006/10/18 13:47:36 jsg Exp $ */
-#include "internal.h"
-#include "md5/global.h"
-#include "md5/md5.h"
-#include "cabfile.h"
-#include "log.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <sys/param.h> /* for MIN(a,b) */
#include <zlib.h>
+#include <crypto/md5.h>
+
+#include "internal.h"
+#include "cabfile.h"
+#include "log.h"
#define VERBOSE 0