diff options
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-Unicode-String/perl-Unicode-String.SlackBuild | 5 |
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 327af614a1..b1cc1b90ff 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 \ |