summaryrefslogtreecommitdiff
path: root/chat/ircII
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2014-03-12 07:22:34 +0000
committermrg <mrg@pkgsrc.org>2014-03-12 07:22:34 +0000
commit0c53927b1fbe79e60c978cc7c453487d54c3e633 (patch)
treeca0605fa16139023501a96ed9aa51e942c275651 /chat/ircII
parent4f744bb501ee0b04cb63f10c144a156f2ea7e06f (diff)
downloadpkgsrc-0c53927b1fbe79e60c978cc7c453487d54c3e633.tar.gz
pull over a patch from ircii-current to fix input lines.
Diffstat (limited to 'chat/ircII')
-rw-r--r--chat/ircII/Makefile3
-rw-r--r--chat/ircII/distinfo3
-rw-r--r--chat/ircII/patches/patch-source_input.c23
3 files changed, 27 insertions, 2 deletions
diff --git a/chat/ircII/Makefile b/chat/ircII/Makefile
index 6a4950a4ee8..c5e18750980 100644
--- a/chat/ircII/Makefile
+++ b/chat/ircII/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.62 2014/01/02 07:57:49 mrg Exp $
+# $NetBSD: Makefile,v 1.63 2014/03/12 07:22:34 mrg Exp $
DISTNAME= ircii-${VERS}
PKGNAME= ircII-${VERS}
+PKGREVISION= 1
CATEGORIES= chat
MASTER_SITES= http://ircii.warped.com/
EXTRACT_SUFX= .tar.bz2
diff --git a/chat/ircII/distinfo b/chat/ircII/distinfo
index 5fc49207d1c..44e468edf83 100644
--- a/chat/ircII/distinfo
+++ b/chat/ircII/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.36 2014/01/02 07:57:49 mrg Exp $
+$NetBSD: distinfo,v 1.37 2014/03/12 07:22:34 mrg Exp $
SHA1 (ircii-20131230.tar.bz2) = b59f8fcd344c09b8820f6efbcc74ba9af7e587ce
RMD160 (ircii-20131230.tar.bz2) = ae2696afc9b6efec3e866ae217d5f5bd258d4493
Size (ircii-20131230.tar.bz2) = 552149 bytes
SHA1 (patch-ac) = 9f6f3b27670b63ff00b55c5431ec1da5219369ff
+SHA1 (patch-source_input.c) = 4ddd92d6209624db964f08f0d7b0375781344138
diff --git a/chat/ircII/patches/patch-source_input.c b/chat/ircII/patches/patch-source_input.c
new file mode 100644
index 00000000000..633f631886d
--- /dev/null
+++ b/chat/ircII/patches/patch-source_input.c
@@ -0,0 +1,23 @@
+$NetBSD: patch-source_input.c,v 1.1 2014/03/12 07:22:34 mrg Exp $
+
+fix a problem with the input line when it goes beyond the screen size
+
+Index: source/input.c
+===================================================================
+RCS file: /home/cvs/ircii/source/input.c,v
+retrieving revision 1.55
+retrieving revision 1.56
+diff -p -r1.55 -r1.56
+*** source/input.c 30 Dec 2013 16:42:38 -0000 1.55
+--- source/input.c 30 Jan 2014 10:13:06 -0000 1.56
+*************** update_input(update)
+*** 488,493 ****
+--- 484,491 ----
+ }
+ }
+ VisBuf[optr] = '\0';
++ if (old_cursor_pos > inputdata->cursor_x)
++ old_cursor_pos = 0;
+ term_move_cursor(old_cursor_pos, inputdata->cursor_y);
+ written = output_line(VisBuf + old_cursor_pos, 0);
+ if (term_clear_to_eol() && written < current_screen->co)