mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Add a patch to fix the build on the Alpha.
Reported by: beta
This commit is contained in:
parent
7364e916cb
commit
dadf3aedc9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56783
18
devel/c4/files/patch-main.c
Normal file
18
devel/c4/files/patch-main.c
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user