pkgsrc/editors/bvi/patches/patch-bm__unix.c
tsutsui 6717b180b5 Update bvi to 1.4.0.
Upstream CHANGES:
 http://bvi.sourceforge.net/new140.html

bvi 1.4.0 - stable release

     * Minor fixes

bvi 1.4.0rc2

     * Ubuntu bug #252604 fixed
     * set scroll fixed
     * adding ASCII_DEL 0x7f for backspace

bvi 1.4.0rc

     * b B w W commands behave equally now (SF bug #5)
     * .bvirc empty line bug fixed (SF bug #6)
     * g-command bug fixed (SF bug #7)
     * several minor fixes

bvi 1.4.0beta

     * ~ - bug fixed (by elo3456)
     * debian bug #469704 fixed (bmore)
     * debian bug #715687 fixed (bmore)
     * red hat bug #925119 fixed

bvi 1.4.0alpha

     * Highlighting of search results
     * Large File Support added
     * Binary representation of current byte in status line added
     * command line options renamed for compability with hexdump
     * Offset handling fixed (Bug item #3036881)
     * noshowmode: fix length of statusline
     * bmore: 'b' bug fixed
     * ';' bug fixed
     * ZZ write bug fixed (ZZ ignores readonly)
     * Buffer overflow if terminal > 255 columns fixed
     * configure fixed
     * ncurses with tinfo fixed
2016-06-19 16:55:28 +00:00

22 lines
398 B
C

$NetBSD: patch-bm__unix.c,v 1.1 2016/06/19 16:55:28 tsutsui Exp $
- use <errno.h> for errno.
--- bm_unix.c.orig 2013-08-25 18:59:33.000000000 +0000
+++ bm_unix.c
@@ -27,6 +27,7 @@
#include "bmore.h"
+#include <errno.h>
#include <termios.h>
#define TBUFSIZ 1024
@@ -260,7 +261,6 @@ int
vgetc()
{
char cha;
- extern int errno;
errno = 0;
if (read(2, &cha, 1) <= 0) {