summaryrefslogtreecommitdiff
path: root/japanese/iv/files/patch-cc
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/iv/files/patch-cc')
-rw-r--r--japanese/iv/files/patch-cc21
1 files changed, 16 insertions, 5 deletions
diff --git a/japanese/iv/files/patch-cc b/japanese/iv/files/patch-cc
index d1b8204633fe..76b37cdeb951 100644
--- a/japanese/iv/files/patch-cc
+++ b/japanese/iv/files/patch-cc
@@ -1,16 +1,27 @@
---- src/bin/ibuild/ibdialog.c.org Wed Oct 28 10:19:27 1992
-+++ src/bin/ibuild/ibdialog.c Wed Jan 5 22:39:32 2000
-@@ -35,6 +35,9 @@
+--- src/bin/ibuild/ibdialog.c.orig Wed Oct 28 10:19:27 1992
++++ src/bin/ibuild/ibdialog.c Wed Jul 9 23:23:46 2003
+@@ -35,9 +35,20 @@
#include <Unidraw/unidraw.h>
#include <Unidraw/viewer.h>
#include <Unidraw/catalog.h>
++#if __FreeBSD__ >= 2
++#include <osreldate.h>
+#if __FreeBSD_cc_version >= 400003
+#include <stdio.h>
+#endif
++#endif
#include <stream.h>
#include <string.h>
-@@ -380,7 +383,7 @@
++#if (__FreeBSD_version > 500000)
++extern "C" {
++ extern int sprintf(char * __restrict, const char * __restrict, ...);
++}
++#endif
+ /*****************************************************************************/
+
+ DialogClass::DialogClass (IBGraphic* gr) : MonoSceneClass(gr) {
+@@ -380,7 +391,7 @@
strcat(ButtonClass, "_Button");
const char* proc = bsVar->GetFuncName();
@@ -19,7 +30,7 @@
CodeView* kidview = GetKidView();
MemberNameVar* kidname;
if (kidview != nil) {
-@@ -407,7 +410,7 @@
+@@ -407,7 +418,7 @@
out << "Interactor*" << coreclass;
out << "::Interior() {\n";