pkgsrc/editors/nvi/patches/patch-ab
wiz 264c1fb0e3 Fix build with automake-1.13.
While here, use a better WRKSRC and rebase patches.
2013-01-23 17:26:07 +00:00

13 lines
412 B
Text

$NetBSD: patch-ab,v 1.4 2013/01/23 17:26:07 wiz Exp $
--- common/exf.c.orig 2007-11-19 03:41:42.000000000 +1100
+++ common/exf.c
@@ -184,7 +184,7 @@ file_init(SCR *sp, FREF *frp, char *rcv_
CALLOC_RET(sp, ep, EXF *, 1, sizeof(EXF));
CIRCLEQ_INIT(&ep->scrq);
sp->c_lno = ep->c_nlines = OOBLNO;
- ep->rcv_fd = ep->fcntl_fd = -1;
+ ep->fd = ep->rcv_fd = ep->fcntl_fd = -1;
F_SET(ep, F_FIRSTMODIFY);
/*