aboutsummaryrefslogtreecommitdiffstats
path: root/devel/c4
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-03-28 20:09:08 +0800
committerknu <knu@FreeBSD.org>2002-03-28 20:09:08 +0800
commita95a51410b28a4745d040fd6a08198c6476c7afc (patch)
treec5ee12df2280677fbe32086375cfe3be48df04af /devel/c4
parent7ea7491ae3813587b28ab3e929b782ee054e3e56 (diff)
downloadfreebsd-ports-gnome-a95a51410b28a4745d040fd6a08198c6476c7afc.tar.gz
freebsd-ports-gnome-a95a51410b28a4745d040fd6a08198c6476c7afc.tar.zst
freebsd-ports-gnome-a95a51410b28a4745d040fd6a08198c6476c7afc.zip
Add a patch to fix the build on the Alpha.
Reported by: beta
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)