Update to nvi-2.1.1
ok naddy@ (maintainer)
This commit is contained in:
parent
c1bdb063a1
commit
7f6fa2fdfd
@ -1,10 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2012/07/14 10:19:14 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2012/10/13 08:13:51 dcoppa Exp $
|
||||
|
||||
COMMENT= ex/vi text editor with wide character support
|
||||
|
||||
# commit 9b89eb63aa3331a9fe9ca79af6b7786785ced6e2
|
||||
DISTNAME= nvi-2.1.0
|
||||
REVISION= 0
|
||||
# commit 5394b0b0eb611d07c07cdb3552b247b9f11dc30e
|
||||
DISTNAME= nvi-2.1.1
|
||||
CATEGORIES= editors
|
||||
HOMEPAGE= https://github.com/lichray/nvi2
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (nvi-2.1.0.tar.gz) = uvTC+5r37jOf7xC2fh7UWYrO+fBE/0sAP9Bb7wp8gf8=
|
||||
SIZE (nvi-2.1.0.tar.gz) = 438758
|
||||
SHA256 (nvi-2.1.1.tar.gz) = ZLoG2vc4bUUpnOh+8gEn0Ziuop2wTh8qHWv0NXG6McU=
|
||||
SIZE (nvi-2.1.1.tar.gz) = 437881
|
||||
|
@ -1,8 +1,8 @@
|
||||
$OpenBSD: patch-build_CMakeLists_txt,v 1.1.1.1 2012/07/14 09:59:30 naddy Exp $
|
||||
--- build/CMakeLists.txt.orig Fri Jul 13 23:11:17 2012
|
||||
+++ build/CMakeLists.txt Sat Jul 14 10:53:59 2012
|
||||
@@ -26,10 +26,10 @@ if(DEBUG)
|
||||
"-Wmissing-prototypes"
|
||||
$OpenBSD: patch-build_CMakeLists_txt,v 1.2 2012/10/13 08:13:51 dcoppa Exp $
|
||||
--- build/CMakeLists.txt.orig Mon Oct 8 12:43:04 2012
|
||||
+++ build/CMakeLists.txt Mon Oct 8 12:45:53 2012
|
||||
@@ -28,10 +28,10 @@ if(DEBUG)
|
||||
"-fstack-protector -Wstack-protector"
|
||||
"-fstrict-aliasing -Wstrict-aliasing")
|
||||
join("${_arg_str}" CMAKE_C_FLAGS)
|
||||
-else(DEBUG)
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-common_recover_c,v 1.1.1.1 2012/07/14 09:59:30 naddy Exp $
|
||||
--- common/recover.c.orig Sat Jul 14 11:21:34 2012
|
||||
+++ common/recover.c Sat Jul 14 11:21:44 2012
|
||||
@@ -866,7 +866,7 @@ rcv_email(
|
||||
long hostmax;
|
||||
int eno;
|
||||
struct addrinfo *res0;
|
||||
- struct addrinfo hints = { AI_ADDRCONFIG, PF_UNSPEC,
|
||||
+ struct addrinfo hints = { 0, PF_UNSPEC,
|
||||
SOCK_STREAM, IPPROTO_TCP };
|
||||
|
||||
/* Prepare the the recipient. */
|
15
editors/nvi/patches/patch-vi_vs_msg_c
Normal file
15
editors/nvi/patches/patch-vi_vs_msg_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-vi_vs_msg_c,v 1.1 2012/10/13 08:13:51 dcoppa Exp $
|
||||
|
||||
Our timespecsub function takes three arguments
|
||||
|
||||
--- vi/vs_msg.c.orig Mon Oct 8 12:49:39 2012
|
||||
+++ vi/vs_msg.c Mon Oct 8 12:50:32 2012
|
||||
@@ -126,7 +126,7 @@ vs_busy(SCR *sp, const char *msg, busy_t btype)
|
||||
/* Update no more than every 1/8 of a second. */
|
||||
(void)clock_gettime(CLOCK_PROF, &ts);
|
||||
ts_diff = ts;
|
||||
- timespecsub(&ts_diff, &vip->busy_ts);
|
||||
+ timespecsub(&ts_diff, &vip->busy_ts, &vip->busy_ts);
|
||||
if (timespeccmp(&ts_diff, &ts_min, <))
|
||||
return;
|
||||
vip->busy_ts = ts;
|
Loading…
Reference in New Issue
Block a user