stop pine from stripping whitespace. much requested on ports@

ok jakob@
This commit is contained in:
tedu 2003-08-21 00:49:34 +00:00
parent 23819788f1
commit eacd489ba9
2 changed files with 15 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.54 2003/05/30 18:41:58 jakob Exp $
# $OpenBSD: Makefile,v 1.55 2003/08/21 00:49:34 tedu Exp $
COMMENT= "program for Internet E-mail and News"
COMMENT-pico= "small text editor"
@ -11,7 +11,7 @@ PICO_VERSION= 4.6
PILOT_VERSION= 2.0
DISTNAME= pine${VERSION}
PKGNAME= pine-${VERSION}
PKGNAME= pine-${VERSION}p1
PKGNAME-pico= pico-${PICO_VERSION}
PKGNAME-pilot= pilot-${PILOT_VERSION}

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-pico_pico_c,v 1.1 2003/08/21 00:49:34 tedu Exp $
--- pico/pico.c.orig Sun Aug 10 17:17:01 2003
+++ pico/pico.c Sun Aug 10 17:16:51 2003
@@ -219,7 +219,9 @@
switch(pico_all_done){ /* prepare for/handle final events */
case COMP_EXIT : /* already confirmed */
packheader();
+#if 0
stripwhitespace();
+#endif
c |= COMP_EXIT;
break;