aboutsummaryrefslogtreecommitdiff
path: root/perl/perl6-Readline
diff options
context:
space:
mode:
authorAndreas Voegele <andreas@andreasvoegele.com>2019-03-13 23:07:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-03-16 06:53:24 +0700
commit81de3ea5a421e71e8d612332735da13016c6feae (patch)
tree5c5a36c24f088c148db6069b1328e9d0cd416d49 /perl/perl6-Readline
parent3bd849c6d67ae12c9ada558005d4d6b3893165c9 (diff)
perl/perl6-Readline: Updated for version 0.1.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl6-Readline')
-rw-r--r--perl/perl6-Readline/ncurses.patch25
-rw-r--r--perl/perl6-Readline/perl6-Readline.SlackBuild6
-rw-r--r--perl/perl6-Readline/perl6-Readline.info6
3 files changed, 5 insertions, 32 deletions
diff --git a/perl/perl6-Readline/ncurses.patch b/perl/perl6-Readline/ncurses.patch
deleted file mode 100644
index ea103ee2d9c0e..0000000000000
--- a/perl/perl6-Readline/ncurses.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From: https://github.com/drforr/perl6-readline/issues/23
-
-On Slackware 14.2, symbols from ncurses need to be loaded before symbols from
-readline can be used.
-
-diff --git a/lib/Readline.pm b/lib/Readline.pm
-index 6001792..94db447 100644
---- a/lib/Readline.pm
-+++ b/lib/Readline.pm
-@@ -711,6 +711,15 @@ class Readline:ver<0.1.4> {
- last;
- }
-
-+ given $*DISTRO.name {
-+ when 'slackware' {
-+ if $version ~~ v6 {
-+ my sub tgetnum(Str --> int32) is native('ncurses') { * }
-+ tgetnum('');
-+ }
-+ }
-+ }
-+
- ( $library, $version )
- }
-
diff --git a/perl/perl6-Readline/perl6-Readline.SlackBuild b/perl/perl6-Readline/perl6-Readline.SlackBuild
index 0c28d9e85c8ec..5a85e6caf5c71 100644
--- a/perl/perl6-Readline/perl6-Readline.SlackBuild
+++ b/perl/perl6-Readline/perl6-Readline.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl6-Readline
-# Copyright 2018 Andreas Voegele <andreas@andreasvoegele.com>
+# Copyright 2018-2019 Andreas Voegele <andreas@andreasvoegele.com>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@@ -17,7 +17,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=perl6-Readline
-VERSION=${VERSION:-0.1.4}
+VERSION=${VERSION:-0.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,8 +65,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -b -p1 < $CWD/ncurses.patch
-
if [ "${MAKETEST:-no}" = "yes" ]; then
env PERL6LIB=lib prove -e perl6
fi
diff --git a/perl/perl6-Readline/perl6-Readline.info b/perl/perl6-Readline/perl6-Readline.info
index c4ce92789f41b..39832767c195e 100644
--- a/perl/perl6-Readline/perl6-Readline.info
+++ b/perl/perl6-Readline/perl6-Readline.info
@@ -1,8 +1,8 @@
PRGNAM="perl6-Readline"
-VERSION="0.1.4"
+VERSION="0.1.5"
HOMEPAGE="https://github.com/drforr/perl6-readline"
-DOWNLOAD="https://github.com/drforr/perl6-readline/archive/0.1.4/perl6-readline-0.1.4.tar.gz"
-MD5SUM="7e827ad1ac9c7498f1b7f2fbebb05e11"
+DOWNLOAD="https://github.com/drforr/perl6-readline/archive/0.1.5/perl6-readline-0.1.5.tar.gz"
+MD5SUM="9156baa1cd931798a258bf44508006c6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rakudo"