summaryrefslogtreecommitdiff
path: root/devel/c4
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-03-28 12:09:08 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-03-28 12:09:08 +0000
commitdadf3aedc99dc73882498000a5cc9f8e65002535 (patch)
tree1b66d7aa0c09824b0de1d784e45f23d5f8d4fcc6 /devel/c4
parentNow uses USE_JAVA. (diff)
Add a patch to fix the build on the Alpha.
Reported by: beta
Notes
Notes: svn path=/head/; revision=56783
Diffstat (limited to 'devel/c4')
-rw-r--r--devel/c4/files/patch-main.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/c4/files/patch-main.c b/devel/c4/files/patch-main.c
new file mode 100644
index 000000000000..abe18a47c626
--- /dev/null
+++ b/devel/c4/files/patch-main.c
@@ -0,0 +1,18 @@
+--- main.c.orig Fri Feb 11 17:11:52 2000
++++ main.c Thu Mar 28 21:05:27 2002
+@@ -62,7 +62,6 @@
+ Alloc(unsigned int sz)
+ {
+ void * p;
+- extern void * malloc(unsigned int);
+
+ p = malloc(sz);
+ if (!p)
+@@ -75,7 +74,6 @@
+ ReAlloc(void * xp, unsigned int sz)
+ {
+ void * p;
+- extern void * realloc(void *, unsigned int);
+
+ p = realloc(xp, sz);
+ if (!p)