diff options
author | agc <agc@pkgsrc.org> | 2004-01-22 23:19:02 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2004-01-22 23:19:02 +0000 |
commit | 8cbf6814c3dba0234bb2baf8359e20c76ad3f2f5 (patch) | |
tree | 04aa290f4d1cc54334ee51766fd4acfccfe4ee7f /editors/ve | |
parent | f533cdeaeb7ff4d84d1367fdcd84ef80ebeaa748 (diff) | |
download | pkgsrc-8cbf6814c3dba0234bb2baf8359e20c76ad3f2f5.tar.gz |
Make this compile with gcc3: varargs -> stdarg
Diffstat (limited to 'editors/ve')
-rw-r--r-- | editors/ve/distinfo | 3 | ||||
-rw-r--r-- | editors/ve/patches/patch-ad | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/editors/ve/distinfo b/editors/ve/distinfo index 84d5c707f74..be487f0bfdb 100644 --- a/editors/ve/distinfo +++ b/editors/ve/distinfo @@ -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 --git a/editors/ve/patches/patch-ad b/editors/ve/patches/patch-ad new file mode 100644 index 00000000000..4e5c5b623c0 --- /dev/null +++ b/editors/ve/patches/patch-ad @@ -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); |