pkgsrc/editors/bvi/patches/patch-comm.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

23 lines
528 B
C

$NetBSD: patch-comm.c,v 1.1 2016/06/19 16:55:28 tsutsui Exp $
- use <errno.h> for errno.
--- comm.c.orig 2014-01-29 14:54:53.000000000 +0000
+++ comm.c
@@ -35,6 +35,8 @@
#include "bvi.h"
#include "set.h"
+#include <errno.h>
+
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
@@ -84,7 +86,6 @@ PTR end_addr;
extern char *name; /* actual filename */
extern char **files; /* used for "next" and "rewind" */
extern int numfiles, curfile;
-extern int errno;
static char oldbuf[CMDSZ]; /** for :!! command **/