Skip to content

Commit

Permalink
perl: bump to 5.34
Browse files Browse the repository at this point in the history
Fixes GCC 10 build issues in other perl packages.
Nuked all patches that don't apply. Some of the are accepted upstream,
others I have no idea about.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
  • Loading branch information
stintel committed Aug 14, 2021
1 parent 6f4a430 commit ea4f5dd
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 1,034 deletions.
2 changes: 1 addition & 1 deletion lang/perl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ PKG_SOURCE_URL:=\
https://mirrors.sonic.net/cpan/src/5.0 \
https://www.cpan.org/src/5.0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_HASH:=fea7162d4cca940a387f0587b93f6737d884bf74d8a9d7cfd978bc12cd0b202d
PKG_HASH:=82c2e5e5c71b0e10487a80d79140469ab1f8056349ca8545140a224dbbed7ded

PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
PKG_LICENSE_FILES:=Copying Artistic README
Expand Down
29 changes: 0 additions & 29 deletions lang/perl/patches/001-macos_11_support.patch

This file was deleted.

85 changes: 0 additions & 85 deletions lang/perl/patches/002-add-Internals-getcwd.patch

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion lang/perl/patches/010-musl-compat.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/perl.c
+++ b/perl.c
@@ -303,7 +303,7 @@ perl_construct(pTHXx)
@@ -285,7 +285,7 @@ perl_construct(pTHXx)
PL_localpatches = local_patches; /* For possible -v */
#endif

Expand Down
66 changes: 0 additions & 66 deletions lang/perl/patches/020-storables-stacksize.patch

This file was deleted.

6 changes: 3 additions & 3 deletions lang/perl/patches/110-always_use_miniperl.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -339,22 +339,11 @@ MANIFEST_SRT = MANIFEST.srt

!GROK!THIS!
@@ -353,22 +353,11 @@ PERL_EXE_LDFLAGS=$exeldflags
;;
esac

-case "$usecrosscompile$perl" in
-define?*)
Expand Down
2 changes: 1 addition & 1 deletion lang/perl/patches/120-remove-build-timestamp.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/perl.c
+++ b/perl.c
@@ -1987,16 +1987,6 @@ S_Internals_V(pTHX_ CV *cv)
@@ -2040,16 +2040,6 @@ S_Internals_V(pTHX_ CV *cv)
PUSHs(Perl_newSVpvn_flags(aTHX_ non_bincompat_options,
sizeof(non_bincompat_options) - 1, SVs_TEMP));

Expand Down
19 changes: 0 additions & 19 deletions lang/perl/patches/301-fix_macos_static_linking.patch

This file was deleted.

10 changes: 5 additions & 5 deletions lang/perl/patches/320-copy-pod-hack.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
--- a/cpan/podlators/Makefile.PL
+++ b/cpan/podlators/Makefile.PL
@@ -18,6 +18,19 @@ use Config;
use ExtUtils::MakeMaker;
use File::Spec;
@@ -39,6 +39,19 @@ sub dist_version {
die "$0: cannot find version in lib/Pod/Man.pm\n";
}

+foreach (glob('scripts/pod*.PL')) {
+ # The various pod*.PL extractors change directory. Doing that with relative
Expand All @@ -20,7 +20,7 @@
# Generate full paths for scripts distributed in the bin directory. Appends
# the .com extension to scripts on VMS, unless they already have the .PL
# extension.
@@ -28,7 +41,7 @@ use File::Spec;
@@ -49,7 +62,7 @@ sub dist_version {
# (Scalar) Space-separated relative paths from top of distribution
sub scripts {
my (@scripts) = @_;
Expand All @@ -29,7 +29,7 @@
if ($^O eq 'VMS') {
@paths = map { m{ [.] PL \z }xms ? $_ : $_ . '.com' } @paths;
}
@@ -77,8 +90,8 @@ my %metadata = (
@@ -99,8 +112,8 @@ my %metadata = (

# Override the files that generate section 1 man pages.
MAN1PODS => {
Expand Down

0 comments on commit ea4f5dd

Please sign in to comment.