summaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>2002-09-26 20:58:27 +0000
committermax <max@FreeBSD.org>2002-09-26 20:58:27 +0000
commit98c7ae3a72688da22491b7f2b6fd37edebc6a26b (patch)
tree5df23552ed8335dd1a2216de2d4b49a5aff2e2ad /japanese
parent1a2f2ad7933e5b34f668f1ac054378e68b320a37 (diff)
downloadFreeBSD-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')
-rw-r--r--japanese/okphone/files/patch-client::defs.h12
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();
+
OpenPOWER on IntegriCloud