summaryrefslogtreecommitdiff
path: root/math/xfractint/patches/patch-aq
diff options
context:
space:
mode:
Diffstat (limited to 'math/xfractint/patches/patch-aq')
-rw-r--r--math/xfractint/patches/patch-aq30
1 files changed, 30 insertions, 0 deletions
diff --git a/math/xfractint/patches/patch-aq b/math/xfractint/patches/patch-aq
new file mode 100644
index 00000000000..6722a5683a2
--- /dev/null
+++ b/math/xfractint/patches/patch-aq
@@ -0,0 +1,30 @@
+$NetBSD: patch-aq,v 1.1 2006/06/14 09:07:45 rillig Exp $
+
+--- prototyp.h.orig 2006-06-15 07:57:40.000000000 +0200
++++ prototyp.h 2006-06-15 08:33:52.000000000 +0200
+@@ -372,7 +372,7 @@ extern int t16_getline(FILE *,int ,U16 *
+
+ extern void calcfracinit(void);
+ extern void adjust_corner(void);
+-#ifndef XFRACT
++#if !defined(USE_VARARGS)
+ extern int put_resume(int ,... );
+ extern int get_resume(int ,... );
+ #else
+@@ -604,11 +604,14 @@ extern int main_menu_switch(int *,int *,
+ extern int pot_line(BYTE *,int );
+ extern int sound_line(BYTE *,int );
+ extern int sound_line(unsigned char *pixels,int linelen);
+-#ifndef XFRACT
++#if !defined(USE_VARARGS)
+ extern int timer(int,int (*subrtn)(),...);
+-extern int _cdecl _matherr(struct exception *);
+ #else
+ extern int timer();
++#endif
++#ifndef XFRACT
++extern int _cdecl _matherr(struct exception *);
++#else
+ extern int XZoomWaiting;
+ #endif
+