aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-02 12:45:55 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit80809bc92f7a3528cc8eeb07ff98911cf9f74605 (patch)
tree48ad9a21492c56e94fd029d352932a36b8fde128 /perl
parent6d16bc8f790da3d816f54f0bd52a3ef1688db65b (diff)
perl/perl-Unicode-String: Fix failed test.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Unicode-String/perl-Unicode-String.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild b/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild
index 327af614a1712..b1cc1b90ff9be 100644
--- a/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild
+++ b/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild
@@ -53,6 +53,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix deprecation warning caused by defined(%hash) use (thanks to Arch)
+sed -i \
+ -e 's/_init_names() unless defined/_init_names() unless/' \
+ lib/Unicode/CharName.pm
+
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \