diff options
author | knu <knu@FreeBSD.org> | 2002-03-28 12:09:08 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-03-28 12:09:08 +0000 |
commit | a95a51410b28a4745d040fd6a08198c6476c7afc (patch) | |
tree | c5ee12df2280677fbe32086375cfe3be48df04af | |
parent | 7ea7491ae3813587b28ab3e929b782ee054e3e56 (diff) | |
download | FreeBSD-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.c | 18 |
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) |