diff options
Diffstat (limited to 'perl/perl6-Readline/ncurses.patch')
-rw-r--r-- | perl/perl6-Readline/ncurses.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/perl/perl6-Readline/ncurses.patch b/perl/perl6-Readline/ncurses.patch new file mode 100644 index 0000000000000..3f6eba9cf90e7 --- /dev/null +++ b/perl/perl6-Readline/ncurses.patch @@ -0,0 +1,19 @@ +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. + +--- lib/Readline.pm.orig 2017-09-21 10:14:05.000000000 +0200 ++++ lib/Readline.pm 2018-07-02 22:14:26.473664202 +0200 +@@ -1,5 +1,11 @@ + use v6; + use NativeCall; ++ ++INIT { ++ my sub tgetnum(Str) returns int32 is native('ncurses') { * } ++ tgetnum(''); ++} ++ + # + # XXX &cglobal.signature -> (Any $libname, Any $symbol, Any $target-type) + # |