pkgsrc/lang/caml-light/patches/patch-aj
dholland 3b06c79f86 Fix broken 64-bit build. Add destdir support.
PKGREVISION++, because I changed some things around.
2008-09-05 02:07:51 +00:00

13 lines
355 B
Text

$NetBSD: patch-aj,v 1.1 2008/09/05 02:07:51 dholland Exp $
Fix 64-bit build.
--- launch/camlexec.c~ 1996-11-25 10:03:46.000000000 -0500
+++ launch/camlexec.c 2008-09-04 21:22:57.000000000 -0400
@@ -1,3 +1,6 @@
+#include <string.h>
+#include <unistd.h>
+
#ifdef MSDOS
char * runtime_name = "camlrun.exe";
char * errmsg = "Cannot exec camlrun.exe.\n";