pkgsrc/math/xfractint/patches/patch-af
2006-06-14 09:07:45 +00:00

31 lines
685 B
Text

$NetBSD: patch-af,v 1.1 2006/06/14 09:07:45 rillig Exp $
--- editpal.c.orig 2006-06-15 07:57:40.000000000 +0200
+++ editpal.c 2006-06-15 08:29:25.000000000 +0200
@@ -114,7 +114,7 @@
#endif
#include <string.h>
-#ifndef XFRACT
+#if !defined(USE_VARARGS)
#include <stdarg.h>
#else
#include <varargs.h>
@@ -410,7 +410,7 @@ void displayc(int x, int y, int fg, int
}
-#ifndef XFRACT
+#if !defined(USE_VARARGS)
static void displayf(int x, int y, int fg, int bg, char *format, ...)
#else
static void displayf(va_alist)
@@ -422,7 +422,7 @@ va_dcl
va_list arg_list;
-#ifndef XFRACT
+#if !defined(USE_VARARGS)
va_start(arg_list, format);
#else
int x,y,fg,bg;