summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-11-06 07:00:38 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-11-06 07:00:38 +0000
commitb97be4432b544244201623f6c7b8a8857bf2e27b (patch)
tree77490caeccbdeaefad92460e15a20a61fa3bae67 /japanese
parentUpdate to 1.20, a much needed security update. (diff)
Fix build on 5-current
For gcc-3.3 or higher version, we should include varargs.h instead of stdarg.h
Notes
Notes: svn path=/head/; revision=93214
Diffstat (limited to 'japanese')
-rw-r--r--japanese/vflib/files/patch-tools+disol.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/japanese/vflib/files/patch-tools+disol.c b/japanese/vflib/files/patch-tools+disol.c
new file mode 100644
index 000000000000..539f899be10b
--- /dev/null
+++ b/japanese/vflib/files/patch-tools+disol.c
@@ -0,0 +1,14 @@
+--- tools/disol.c.orig Thu Nov 6 15:59:00 2003
++++ tools/disol.c Thu Nov 6 16:01:39 2003
+@@ -33,7 +33,11 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ > 2 || __GNUC__ >= 4)
++#include <stdarg.h>
++#else
+ #include <varargs.h>
++#endif
+ #include "../src/VF.h"
+
+ #define CommentLine printf