summaryrefslogtreecommitdiff
path: root/math/xfractint/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'math/xfractint/patches/patch-am')
-rw-r--r--math/xfractint/patches/patch-am54
1 files changed, 54 insertions, 0 deletions
diff --git a/math/xfractint/patches/patch-am b/math/xfractint/patches/patch-am
new file mode 100644
index 00000000000..32aa9e9fab1
--- /dev/null
+++ b/math/xfractint/patches/patch-am
@@ -0,0 +1,54 @@
+$NetBSD: patch-am,v 1.1 2006/06/14 09:07:45 rillig Exp $
+
+--- miscovl.c.orig 2006-06-15 07:57:40.000000000 +0200
++++ miscovl.c 2006-06-15 08:37:08.000000000 +0200
+@@ -2,16 +2,19 @@
+ Overlayed odds and ends that don't fit anywhere else.
+ */
+
++#if !defined(USE_VARARGS)
++#include <stdarg.h>
++#else
++#include <varargs.h>
++#endif
++
+ #include <string.h>
+ #include <ctype.h>
+ #include <time.h>
+ #ifndef XFRACT
+ #include <malloc.h>
+ #include <process.h>
+-#include <stdarg.h>
+ #include <io.h>
+-#else
+-#include <varargs.h>
+ #endif
+ /* see Fractint.c for a description of the "include" hierarchy */
+ #include "port.h"
+@@ -24,7 +27,7 @@
+ static void write_batch_parms(char *colorinf,int colorsonly, int maxcolor,int i, int j);
+ static void expand_comments(char far *target, char far *source);
+
+-#ifndef XFRACT
++#if !defined(USE_VARARGS)
+ static void put_parm(char *parm,...);
+ #else
+ static void put_parm();
+@@ -1175,7 +1178,7 @@ static void put_filename(char *keyword,c
+ }
+ }
+
+-#ifndef XFRACT
++#if !defined(USE_VARARGS)
+ static void put_parm(char *parm,...)
+ #else
+ static void put_parm(va_alist)
+@@ -1185,7 +1188,7 @@ va_dcl
+ char *bufptr;
+ va_list args;
+
+-#ifndef XFRACT
++#if !defined(USE_VARARGS)
+ va_start(args,parm);
+ #else
+ char * parm;