pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/bvi Fix errno.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90d43a13b193
branches:  trunk
changeset: 504331:90d43a13b193
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 09 13:47:58 2005 +0000

description:
Fix errno.

diffstat:

 editors/bvi/distinfo         |   4 +++-
 editors/bvi/patches/patch-aa |  21 +++++++++++++++++++++
 editors/bvi/patches/patch-ab |  20 ++++++++++++++++++++
 3 files changed, 44 insertions(+), 1 deletions(-)

diffs (61 lines):

diff -r 264208ef9d2c -r 90d43a13b193 editors/bvi/distinfo
--- a/editors/bvi/distinfo      Fri Dec 09 12:10:09 2005 +0000
+++ b/editors/bvi/distinfo      Fri Dec 09 13:47:58 2005 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 17:15:10 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/12/09 13:47:58 joerg Exp $
 
 SHA1 (bvi-1.3.2.src.tar.gz) = 0ff213ebb5cd0993c5d1f7c8d4172aaec709aac1
 RMD160 (bvi-1.3.2.src.tar.gz) = d50aa06d5c978026d363002fee194802b2096cbc
 Size (bvi-1.3.2.src.tar.gz) = 170444 bytes
+SHA1 (patch-aa) = e62f72fd84d03a0109a0b02950aff468ba5639b6
+SHA1 (patch-ab) = b3aa82a7fea3122328a2bee8e532684bf7f306c2
diff -r 264208ef9d2c -r 90d43a13b193 editors/bvi/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/bvi/patches/patch-aa      Fri Dec 09 13:47:58 2005 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.3 2005/12/09 13:47:58 joerg Exp $
+
+--- comm.c.orig        2005-12-09 13:37:50.000000000 +0000
++++ comm.c
+@@ -32,6 +32,8 @@
+ #include "bvi.h"
+ #include "set.h"
+ 
++#include <errno.h>
++
+ #ifdef HAVE_UNISTD_H
+ #     include <unistd.h>
+ #endif
+@@ -81,7 +83,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 **/
+ 
diff -r 264208ef9d2c -r 90d43a13b193 editors/bvi/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/bvi/patches/patch-ab      Fri Dec 09 13:47:58 2005 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2005/12/09 13:47:58 joerg Exp $
+
+--- bm_unix.c.orig     2005-12-09 13:38:29.000000000 +0000
++++ bm_unix.c
+@@ -25,6 +25,7 @@
+ 
+ 
+ #include "bmore.h"
++#include <errno.h>
+ #include <termios.h>
+ 
+ #define TBUFSIZ 1024
+@@ -257,7 +258,6 @@ int
+ vgetc()
+ {
+     char cha;
+-    extern int errno;
+ 
+     errno = 0;
+     if (read(2, &cha, 1) <= 0) {



Home | Main Index | Thread Index | Old Index