summaryrefslogtreecommitdiff
path: root/math/xfractint/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'math/xfractint/patches/patch-al')
-rw-r--r--math/xfractint/patches/patch-al22
1 files changed, 22 insertions, 0 deletions
diff --git a/math/xfractint/patches/patch-al b/math/xfractint/patches/patch-al
new file mode 100644
index 00000000000..af27b76a1ec
--- /dev/null
+++ b/math/xfractint/patches/patch-al
@@ -0,0 +1,22 @@
+$NetBSD: patch-al,v 1.1 2006/06/14 09:07:45 rillig Exp $
+
+--- memory.c.orig 2006-06-15 07:57:40.000000000 +0200
++++ memory.c 2006-06-15 08:35:53.000000000 +0200
+@@ -1,11 +1,14 @@
++#if !defined(USE_VARARGS)
++#include <stdarg.h>
++#else
++#include <varargs.h>
++#endif
++
+ #include <string.h>
+ #include <limits.h>
+ #include <malloc.h>
+ #ifndef XFRACT
+ #include <io.h>
+-#include <stdarg.h>
+-#else
+-#include <varargs.h>
+ #endif
+ #include <ctype.h>
+