pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/ve Make this compile with gcc3: varargs -> stdarg
details: https://anonhg.NetBSD.org/pkgsrc/rev/6814e7658b06
branches: trunk
changeset: 466764:6814e7658b06
user: agc <agc%pkgsrc.org@localhost>
date: Thu Jan 22 23:19:02 2004 +0000
description:
Make this compile with gcc3: varargs -> stdarg
diffstat:
editors/ve/distinfo | 3 ++-
editors/ve/patches/patch-ad | 31 +++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 1 deletions(-)
diffs (48 lines):
diff -r 5f66e84cc170 -r 6814e7658b06 editors/ve/distinfo
--- a/editors/ve/distinfo Thu Jan 22 23:14:08 2004 +0000
+++ b/editors/ve/distinfo Thu Jan 22 23:19:02 2004 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/04/19 14:05:17 zuntum Exp $
+$NetBSD: distinfo,v 1.2 2004/01/22 23:19:02 agc Exp $
SHA1 (ve-1.0.tgz) = 0faac299b697ff6dfc28d234ee47089ad4d148ff
Size (ve-1.0.tgz) = 31527 bytes
SHA1 (patch-aa) = 5cd86d04368f46cf247db23b99202f5a8c44f61a
SHA1 (patch-ab) = b9fb31c6c047bad051e1e11f611f67fec75f6f86
SHA1 (patch-ac) = 6b6c6e2d79076994a133001ba44495760d3b8930
+SHA1 (patch-ad) = dd1901fe8412f87a88fd7768493c6780acbb01ba
diff -r 5f66e84cc170 -r 6814e7658b06 editors/ve/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/ve/patches/patch-ad Thu Jan 22 23:19:02 2004 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ad,v 1.1 2004/01/22 23:19:02 agc Exp $
+
+--- screen.c 2004/01/22 23:16:05 1.1
++++ screen.c 2004/01/22 23:17:05
+@@ -6,7 +6,7 @@
+ /* update : 95/12/15 */
+ /*-------------------------------------------------------*/
+
+-#include <varargs.h>
++#include <stdarg.h>
+ #include "bbs.h"
+
+ extern char clearbuf[];
+@@ -601,14 +601,12 @@
+
+
+ void
+-prints(va_alist)
+-va_dcl
++prints(char *fmt, ...)
+ {
+ va_list args;
+- char buff[512], *fmt;
++ char buff[512];
+
+- va_start(args);
+- fmt = va_arg(args, char *);
++ va_start(args, fmt);
+ vsprintf(buff, fmt, args);
+ va_end(args);
+ outs(buff);
Home |
Main Index |
Thread Index |
Old Index