Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/irssi irssi: grab pull request from upstream fixi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f5d09fe96446
branches:  trunk
changeset: 432093:f5d09fe96446
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon May 18 18:38:31 2020 +0000

description:
irssi: grab pull request from upstream fixing hangs with ctrl+space

bump pkgrevision

diffstat:

 chat/irssi/Makefile                                  |   6 ++++--
 chat/irssi/distinfo                                  |   3 ++-
 chat/irssi/patches/patch-src_fe-text_term-terminfo.c |  18 ++++++++++++++++++
 3 files changed, 24 insertions(+), 3 deletions(-)

diffs (57 lines):

diff -r 133084e9d6e2 -r f5d09fe96446 chat/irssi/Makefile
--- a/chat/irssi/Makefile       Mon May 18 17:07:38 2020 +0000
+++ b/chat/irssi/Makefile       Mon May 18 18:38:31 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.97 2020/03/08 16:48:56 wiz Exp $
+# $NetBSD: Makefile,v 1.98 2020/05/18 18:38:31 maya Exp $
 
 DISTNAME=              ${IRSSI_DISTNAME}
-PKGREVISION=           3
+PKGREVISION=           4
 CATEGORIES=            chat
 EXTRACT_SUFX=          ${IRSSI_EXTRACT_SUFX}
 
@@ -34,6 +34,8 @@
 .include "options.mk"
 .include "../../devel/glib2/buildlink3.mk"
 
+SIGN=  ASDF%20asdf
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/irssi-config ${DESTDIR}${IRSSI_CONFIG}
 
diff -r 133084e9d6e2 -r f5d09fe96446 chat/irssi/distinfo
--- a/chat/irssi/distinfo       Mon May 18 17:07:38 2020 +0000
+++ b/chat/irssi/distinfo       Mon May 18 18:38:31 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.51 2019/08/31 10:04:26 nia Exp $
+$NetBSD: distinfo,v 1.52 2020/05/18 18:38:31 maya Exp $
 
 SHA1 (irssi-1.2.2.tar.gz) = 1004f6adcd949c6ab76bff5abe210521c8af4fd7
 RMD160 (irssi-1.2.2.tar.gz) = 49a8681a4a3495e441d8b516304477bdb4d9aa7c
 SHA512 (irssi-1.2.2.tar.gz) = 708dd72685f89ba5da155b7276addcb3758a000f633c71a9bee88c84585f1b5f69872696c7d107699edd16cf964e0a046fc13fecc0384505c11258ec16ab3342
 Size (irssi-1.2.2.tar.gz) = 1843879 bytes
 SHA1 (patch-ad) = 8cb41612afcd6088b869235166da9a6eb37e6ec7
+SHA1 (patch-src_fe-text_term-terminfo.c) = 3ebf09dfde3fa01c4f53862e126fe13f082d450c
diff -r 133084e9d6e2 -r f5d09fe96446 chat/irssi/patches/patch-src_fe-text_term-terminfo.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/irssi/patches/patch-src_fe-text_term-terminfo.c      Mon May 18 18:38:31 2020 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_fe-text_term-terminfo.c,v 1.1 2020/05/18 18:38:31 maya Exp $
+
+Fix hang when pressing ctrl+space.
+From https://github.com/irssi/irssi/issues/1180
+
+--- src/fe-text/term-terminfo.c.orig   2019-08-29 13:48:46.000000000 +0000
++++ src/fe-text/term-terminfo.c
+@@ -674,6 +674,10 @@ static int input_utf8(const unsigned cha
+ {
+       unichar c = g_utf8_get_char_validated((char *)buffer, size);
+ 
++      /* GLib >= 2.63 do not accept Unicode NUL anymore */
++      if (c == (unichar) -2 && *buffer == 0 && size > 0)
++              c = 0;
++
+       switch (c) {
+       case (unichar)-1:
+               /* not UTF8 - fallback to 8bit ascii */



Home | Main Index | Thread Index | Old Index