summaryrefslogtreecommitdiff
path: root/devel/cbind/files/patch-files.c
diff options
context:
space:
mode:
authorFrank J. Laszlo <laszlof@FreeBSD.org>2006-11-09 13:56:24 +0000
committerFrank J. Laszlo <laszlof@FreeBSD.org>2006-11-09 13:56:24 +0000
commit136702793db32df55728ddfc65b65c6e20d53414 (patch)
tree13c07928c2fc47e0d4587b7e1f27bb4ba2b47e82 /devel/cbind/files/patch-files.c
parent Upgrade to version 1.4.2 (diff)
New Port: devel/cbind
This tool is designed to aid in the creation of Ada bindings to C. PR: ports/105182 Submitted By: "John Merryweather Cooper" <john_m_cooper@yahoo.com> Approved By: flz (mentor)
Notes
Notes: svn path=/head/; revision=176935
Diffstat (limited to 'devel/cbind/files/patch-files.c')
-rw-r--r--devel/cbind/files/patch-files.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/cbind/files/patch-files.c b/devel/cbind/files/patch-files.c
new file mode 100644
index 000000000000..9b368b2ac2a8
--- /dev/null
+++ b/devel/cbind/files/patch-files.c
@@ -0,0 +1,18 @@
+--- files.c.orig Fri May 19 16:45:30 1995
++++ files.c Mon Dec 23 08:38:17 2002
+@@ -1,5 +1,6 @@
+ #include "ansi.h"
+ #include "hostinfo.h"
++#include "host.h"
+ #include "config.h"
+
+ #include <sys/types.h>
+@@ -11,7 +12,7 @@
+ #include <sys/mman.h>
+ #else
+ #include <unistd.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #endif
+
+ #undef NULL