summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-03-28 12:09:08 +0000
committerknu <knu@FreeBSD.org>2002-03-28 12:09:08 +0000
commita95a51410b28a4745d040fd6a08198c6476c7afc (patch)
treec5ee12df2280677fbe32086375cfe3be48df04af
parent7ea7491ae3813587b28ab3e929b782ee054e3e56 (diff)
downloadFreeBSD-ports-a95a51410b28a4745d040fd6a08198c6476c7afc.zip
FreeBSD-ports-a95a51410b28a4745d040fd6a08198c6476c7afc.tar.gz
Add a patch to fix the build on the Alpha.
Reported by: beta
-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 0000000..abe18a4
--- /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)
OpenPOWER on IntegriCloud