summaryrefslogtreecommitdiff
path: root/japanese/iv/files/patch-bh
diff options
context:
space:
mode:
authorMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2003-07-09 21:53:42 +0000
committerMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2003-07-09 21:53:42 +0000
commitc326feac8df5b40fb20da023a2d151ed9555cb39 (patch)
treeb6fa4dc1047b363b8d7f501ef1f644f50ef4a021 /japanese/iv/files/patch-bh
parentAdd checksum for bounds-checking-gcc-3.3-1.00.patch.bz2 lost by revision 1.69. (diff)
Modified to build on 5-current(use gcc 2.95)
Submitted by: bento
Notes
Notes: svn path=/head/; revision=84547
Diffstat (limited to 'japanese/iv/files/patch-bh')
-rw-r--r--japanese/iv/files/patch-bh11
1 files changed, 7 insertions, 4 deletions
diff --git a/japanese/iv/files/patch-bh b/japanese/iv/files/patch-bh
index e6ea7c2f83c6..2c0e6470c41c 100644
--- a/japanese/iv/files/patch-bh
+++ b/japanese/iv/files/patch-bh
@@ -1,12 +1,15 @@
---- src/bin/ibuild/ibdialogs.c.orig Thu May 27 21:41:29 1999
-+++ src/bin/ibuild/ibdialogs.c Thu May 27 21:41:59 1999
-@@ -60,7 +60,9 @@
+--- ./src/bin/ibuild/ibdialogs.c.orig Thu Sep 24 01:43:09 1992
++++ ./src/bin/ibuild/ibdialogs.c Wed Jul 9 00:26:21 2003
+@@ -60,7 +60,12 @@
#include <InterViews/tray.h>
#include <OS/types.h>
-+#if __FreeBSD_cc_version < 400002
++#if __FreeBSD__ >= 2
++#include <osreldate.h>
++#if (__FreeBSD_cc_version < 400002 && __FreeBSD_version < 500000)
#include <osfcn.h>
+#endif
++#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>