diff options
author | max <max@FreeBSD.org> | 2002-09-26 20:58:27 +0000 |
---|---|---|
committer | max <max@FreeBSD.org> | 2002-09-26 20:58:27 +0000 |
commit | 98c7ae3a72688da22491b7f2b6fd37edebc6a26b (patch) | |
tree | 5df23552ed8335dd1a2216de2d4b49a5aff2e2ad /japanese/okphone | |
parent | 1a2f2ad7933e5b34f668f1ac054378e68b320a37 (diff) | |
download | FreeBSD-ports-98c7ae3a72688da22491b7f2b6fd37edebc6a26b.zip FreeBSD-ports-98c7ae3a72688da22491b7f2b6fd37edebc6a26b.tar.gz |
Fix the build error caused by conflicting malloc() prototype declaration.
Submitted by: Shingo WATANABE <nabe@nabechan.org>
PR: 42944
Diffstat (limited to 'japanese/okphone')
-rw-r--r-- | japanese/okphone/files/patch-client::defs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/japanese/okphone/files/patch-client::defs.h b/japanese/okphone/files/patch-client::defs.h new file mode 100644 index 0000000..2c49528 --- /dev/null +++ b/japanese/okphone/files/patch-client::defs.h @@ -0,0 +1,12 @@ +--- client/defs.h.orig Fri Sep 27 05:47:14 2002 ++++ client/defs.h Fri Sep 27 05:49:02 2002 +@@ -11,7 +11,9 @@ + #endif + char *index(); + char *strsave(); ++#ifndef __FreeBSD__ + char *malloc(); ++#endif + char *basename(); + char *expalias(); + |