From 81de3ea5a421e71e8d612332735da13016c6feae Mon Sep 17 00:00:00 2001 From: Andreas Voegele Date: Wed, 13 Mar 2019 23:07:59 +0700 Subject: perl/perl6-Readline: Updated for version 0.1.5. Signed-off-by: Willy Sudiarto Raharjo --- perl/perl6-Readline/ncurses.patch | 25 ------------------------- perl/perl6-Readline/perl6-Readline.SlackBuild | 6 ++---- perl/perl6-Readline/perl6-Readline.info | 6 +++--- 3 files changed, 5 insertions(+), 32 deletions(-) delete mode 100644 perl/perl6-Readline/ncurses.patch (limited to 'perl') diff --git a/perl/perl6-Readline/ncurses.patch b/perl/perl6-Readline/ncurses.patch deleted file mode 100644 index ea103ee2d9..0000000000 --- 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 0c28d9e85c..5a85e6caf5 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 +# Copyright 2018-2019 Andreas Voegele # # 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 c4ce92789f..39832767c1 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" -- cgit v1.2.3