perl/perl-Unicode-String: Fix failed test.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
David Spencer 2015-12-02 12:45:55 +00:00 committed by Willy Sudiarto Raharjo
parent 6d16bc8f79
commit 80809bc92f

View file

@ -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 \