From 80809bc92f7a3528cc8eeb07ff98911cf9f74605 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 2 Dec 2015 12:45:55 +0000 Subject: perl/perl-Unicode-String: Fix failed test. Signed-off-by: David Spencer Signed-off-by: Robby Workman --- perl/perl-Unicode-String/perl-Unicode-String.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl/perl-Unicode-String') diff --git a/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild b/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild index 327af614a171..b1cc1b90ff9b 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 \ -- cgit v1.2.3