freebsd-ports/editors/nvi-devel/files/extra-patch-cl-cl_screen.c
Mark Linimon 91a2135b22 Attempt to fix build on 7.x with gcc4.2.
PR:		ports/118077
Submitted by:	"J.R. Oldroyd" <fbsd at opal dot com>
Approved by:	portmgr (self)
2007-12-05 00:03:50 +00:00

11 lines
306 B
C

--- ../cl/cl_screen.c.orig 2001-06-25 11:19:06.000000000 -0400
+++ ../cl/cl_screen.c 2007-11-15 14:19:50.000000000 -0500
@@ -56,7 +56,7 @@
if (F_ISSET(gp, G_SRESTART)) {
if (CLSP(sp)) {
delwin(CLSP(sp));
- CLSP(sp) = NULL;
+ LCLSP(sp) = NULL;
}
if (cl_quit(gp))
return (1);