diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-15 15:37:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-15 20:07:18 +0000 |
commit | 0c8f731d6e4a414e5b2a75427d84df07ee70f20e (patch) | |
tree | db158b910175d314719066a90099dbd6b1d83ef1 /community/perl-unicode-collate/Unicode-Collate-1.19-Fixes-for-removal-dot-from-INC.patch | |
parent | 8cf6c4f07bd0e25adf1be1d5ce696b4031ef9392 (diff) | |
download | aports-0c8f731d6e4a414e5b2a75427d84df07ee70f20e.tar.bz2 aports-0c8f731d6e4a414e5b2a75427d84df07ee70f20e.tar.xz |
community/perl-unicode-collate: rebuild against perl 5.26
Diffstat (limited to 'community/perl-unicode-collate/Unicode-Collate-1.19-Fixes-for-removal-dot-from-INC.patch')
-rw-r--r-- | community/perl-unicode-collate/Unicode-Collate-1.19-Fixes-for-removal-dot-from-INC.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/perl-unicode-collate/Unicode-Collate-1.19-Fixes-for-removal-dot-from-INC.patch b/community/perl-unicode-collate/Unicode-Collate-1.19-Fixes-for-removal-dot-from-INC.patch new file mode 100644 index 0000000000..aae5e3bb6e --- /dev/null +++ b/community/perl-unicode-collate/Unicode-Collate-1.19-Fixes-for-removal-dot-from-INC.patch @@ -0,0 +1,24 @@ +diff -up Unicode-Collate-1.19/mklocale.orig Unicode-Collate-1.19/mklocale +--- Unicode-Collate-1.19/mklocale.orig 2017-05-11 14:46:13.491501304 +0200 ++++ Unicode-Collate-1.19/mklocale 2017-05-11 14:48:21.829764058 +0200 +@@ -546,7 +546,7 @@ for my $txt (@txts) { + s/\s*\z/.pm/; + my $f = File::Spec->catfile($CUR_DIR, split /::/, $_); + $f = 'Korean.pm' if /::Korean\.pm/; # using the newer one +- require $f; ++ require "./$f"; + next; + } + if (/^(alternate)\s+(\S+)/) { +diff -up Unicode-Collate-1.19/Makefile.PL.orig Unicode-Collate-1.19/Makefile.PL +--- Unicode-Collate-1.19/Makefile.PL.orig 2017-05-11 14:57:57.113506081 +0200 ++++ Unicode-Collate-1.19/Makefile.PL 2017-05-11 14:57:25.895682439 +0200 +@@ -6,7 +6,7 @@ my $clean = {}; + if (-f "Collate.xs") { + print "Making header files for XS...\n"; + +- do 'mkheader' or die $@ || "mkheader: $!"; ++ do './mkheader' or die $@ || "mkheader: $!"; + + $clean = { FILES => 'ucatbl.h' }; + } |