summaryrefslogtreecommitdiff
path: root/math/xfractint/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'math/xfractint/patches/patch-ah')
-rw-r--r--math/xfractint/patches/patch-ah43
1 files changed, 43 insertions, 0 deletions
diff --git a/math/xfractint/patches/patch-ah b/math/xfractint/patches/patch-ah
new file mode 100644
index 00000000000..c8f17c5a0fc
--- /dev/null
+++ b/math/xfractint/patches/patch-ah
@@ -0,0 +1,43 @@
+$NetBSD: patch-ah,v 1.1 2006/06/14 09:07:45 rillig Exp $
+
+--- fractint.c.orig 2006-06-15 07:57:40.000000000 +0200
++++ fractint.c 2006-06-15 08:32:32.000000000 +0200
+@@ -3,14 +3,17 @@
+ Main Routine
+ */
+
++#if !defined(USE_VARARGS)
++#include <stdarg.h>
++#else
++#include <varargs.h>
++#endif
++
+ #include <string.h>
+ #include <time.h>
+ #include <signal.h>
+ #ifndef XFRACT
+ #include <io.h>
+-#include <stdarg.h>
+-#else
+-#include <varargs.h>
+ #endif
+ #include <ctype.h>
+
+@@ -540,7 +543,7 @@ int check_key()
+ timer(1,NULL,int width) decoder
+ timer(2) encoder
+ */
+-#ifndef XFRACT
++#if !defined(USE_VARARGS)
+ int timer(int timertype,int(*subrtn)(),...)
+ #else
+ int timer(va_alist)
+@@ -555,7 +558,7 @@ va_dcl
+ int i;
+ int do_bench;
+
+-#ifndef XFRACT
++#if !defined(USE_VARARGS)
+ va_start(arg_marker,subrtn);
+ #else
+ int timertype;