pkgsrc/mail/elm/patches/patch-am
wiz abbee5c795 Assume stdarg.h exists instead of using varargs.h in some cases.
Fixes build with gcc-3.4.6 on Linux.  From Roman Valls in PR 34016.
2006-07-17 17:41:00 +00:00

17 lines
400 B
Text

$NetBSD: patch-am,v 1.1 2006/07/17 17:41:00 wiz Exp $
--- src/curses.c.orig 2005-08-18 13:20:14.000000000 +0000
+++ src/curses.c
@@ -47,11 +47,7 @@ static char rcsid[] = "@(#)$Id: curses.c
#include "s_elm.h"
#include <assert.h>
-#ifdef I_STDARG
-# include <stdarg.h>
-#else
-# include <varargs.h>
-#endif
+#include <stdarg.h>
#define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str))