openbsd-ports/archivers/unshield/patches/patch-lib_libunshield_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

19 lines
520 B
Plaintext

$OpenBSD: patch-lib_libunshield_c,v 1.2 2006/10/18 13:47:36 jsg Exp $
--- lib/libunshield.c.orig Tue Aug 24 16:10:27 2004
+++ lib/libunshield.c Wed Oct 18 23:08:15 2006
@@ -1,11 +1,12 @@
/* $Id: patch-lib_libunshield_c,v 1.2 2006/10/18 13:47:36 jsg Exp $ */
#define _BSD_SOURCE 1
-#include "internal.h"
-#include "log.h"
#include <assert.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
+
+#include "internal.h"
+#include "log.h"
/**
Create filename pattern used by unshield_fopen_for_reading()