summaryrefslogtreecommitdiff
path: root/source/n/irssi
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-04-27 20:27:30 +0000
committerEric Hameleers <alien@slackware.com>2020-04-28 08:59:53 +0200
commit1cf9f87b65a9ec2c65a1fb409fe9e42a53af778f (patch)
tree9ae4603721b75831fd6e3cb8c5b7f9d192691d72 /source/n/irssi
parent6e0d30774ba3f189660e7672e0ad5fa88a259b6b (diff)
downloadcurrent-1cf9f87b65a9ec2c65a1fb409fe9e42a53af778f.tar.gz
Mon Apr 27 20:27:30 UTC 202020200427202730
a/mkinitrd-1.4.11-x86_64-15.txz: Rebuilt. Use the standard mktemp utility from GNU coreutils, not the old tempfile. d/help2man-1.47.15-x86_64-1.txz: Upgraded. l/aspell-en-2019.10.06_0-x86_64-1.txz: Upgraded. l/gtk+3-3.24.20-x86_64-1.txz: Upgraded. l/imagemagick-7.0.10_9-x86_64-1.txz: Upgraded. n/irssi-1.2.2-x86_64-2.txz: Rebuilt. Fixed ctrl-space killing input with recent glib. Thanks to tramtrist and Urchlay. x/xterm-354-x86_64-1.txz: Upgraded. extra/aspell-word-lists/aspell-de-20161207_7_0-x86_64-1.txz: Upgraded. extra/aspell-word-lists/aspell-ga-5.1_0-x86_64-1.txz: Upgraded. extra/aspell-word-lists/aspell-it-2.4_20070901_0-x86_64-1.txz: Upgraded. extra/aspell-word-lists/aspell-ml-0.04_1-x86_64-1.txz: Upgraded. extra/aspell-word-lists/aspell-pl-6.0_20200327_0-x86_64-1.txz: Upgraded. extra/aspell-word-lists/aspell-pt_BR-20131030_12_0-x86_64-1.txz: Upgraded. extra/aspell-word-lists/aspell-pt_PT-20190329_1_0-x86_64-1.txz: Upgraded. extra/aspell-word-lists/aspell-sk-2.02_0-x86_64-1.txz: Upgraded. extra/aspell-word-lists/aspell-tl-0.4_0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/n/irssi')
-rwxr-xr-xsource/n/irssi/irssi.SlackBuild7
-rw-r--r--source/n/irssi/irssi.ctrl-space.diff11
2 files changed, 16 insertions, 2 deletions
diff --git a/source/n/irssi/irssi.SlackBuild b/source/n/irssi/irssi.SlackBuild
index 9b949f8f..d462fd78 100755
--- a/source/n/irssi/irssi.SlackBuild
+++ b/source/n/irssi/irssi.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +28,7 @@ PKG=$TMP/package-irssi
VERSION=${VERSION:-$(echo irssi-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
DIRCD=${VERSION}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -78,6 +78,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# Fix crtl-space killing input with recent glib:
+zcat $CWD/irssi.ctrl-space.diff.gz | patch -p1 --verbose || exit 1
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
diff --git a/source/n/irssi/irssi.ctrl-space.diff b/source/n/irssi/irssi.ctrl-space.diff
new file mode 100644
index 00000000..01b1eab5
--- /dev/null
+++ b/source/n/irssi/irssi.ctrl-space.diff
@@ -0,0 +1,11 @@
+diff -Naur irssi-1.2.2/src/fe-text/term-terminfo.c irssi-1.2.2.patched/src/fe-text/term-terminfo.c
+--- irssi-1.2.2/src/fe-text/term-terminfo.c 2019-08-29 09:48:46.000000000 -0400
++++ irssi-1.2.2.patched/src/fe-text/term-terminfo.c 2020-04-26 04:15:02.007493067 -0400
+@@ -673,6 +673,7 @@
+ static int input_utf8(const unsigned char *buffer, int size, unichar *result)
+ {
+ unichar c = g_utf8_get_char_validated((char *)buffer, size);
++ if(*buffer == '\0') c = (unichar)-1;
+
+ switch (c) {
+ case (unichar)-1: