diff options
Diffstat (limited to 'perl/perl6-Readline/ncurses.patch')
-rw-r--r-- | perl/perl6-Readline/ncurses.patch | 25 |
1 files changed, 0 insertions, 25 deletions
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 ) - } - |