diff options
author | maho <maho@FreeBSD.org> | 2003-11-06 15:00:38 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2003-11-06 15:00:38 +0800 |
commit | 7d71dad0eb88d2c60cda0135245471e198bd5783 (patch) | |
tree | 2bbb6611bfbc0665cf79994553a27ee22dee324c /japanese | |
parent | a2282faa525089b3fc97baced00bc37e174bbc3f (diff) | |
download | freebsd-ports-graphics-7d71dad0eb88d2c60cda0135245471e198bd5783.tar.gz freebsd-ports-graphics-7d71dad0eb88d2c60cda0135245471e198bd5783.tar.zst freebsd-ports-graphics-7d71dad0eb88d2c60cda0135245471e198bd5783.zip |
Fix build on 5-current
For gcc-3.3 or higher version, we should include
varargs.h instead of stdarg.h
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/vflib/files/patch-tools+disol.c | 14 |
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 00000000000..539f899be10 --- /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 |