pkgsrc/games/xpilot/patches/patch-ac
is e4663da84b The author assumes defined(__STDC__) && defined(__sun__) results in no
<stdarg.h> available... this is not the case with even vaguely recent
gcc on Solaris.
Build fixed, Man page installation stays broken on Solaris as it is a
different (and more general) problem.
2010-01-07 15:22:49 +00:00

13 lines
472 B
Text

$NetBSD: patch-ac,v 1.1 2010/01/07 15:22:49 is Exp $
--- src/common/error.h.orig 2001-05-30 11:34:15.000000000 -0700
+++ src/common/error.h
@@ -34,7 +34,7 @@
#ifndef ERROR_H
#define ERROR_H
-# if (defined(__STDC__) && !defined(__sun__) || defined(__cplusplus) || defined(_WINDOWS))
+# if (defined(__STDC__) || defined(__cplusplus) || defined(_WINDOWS))
# include <stdarg.h>
extern void warn(const char *fmt, ...);
extern void error(const char *fmt, ...);