mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
perl: Update to 5.32.1
- Update from 5.30.0 to 5.32.1
- Update of rootfile carried out
- Removal of perl-5.30.0.fix.build.failure-against-gcc-10.patch as no
longer required
- Changelog is too large to fit here.
Full details for release 5.33.1 from 5.32.0 are in the source tarball
in pod/perldelta.pod
For the details of changes in previous releases, see the individual
perlNNNdelta.pod files. For example, pod/perl588delta.pod describes the
changes between versions 5.8.7 and 5.8.8.
- Updated iso from build of perl and all other changes has been installed
in a vm testbed. All pages and graphs that have been looked at worked
without any hiccups.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
5b17fea8e7
commit
18d277d67f
File diff suppressed because it is too large
Load Diff
5
lfs/perl
5
lfs/perl
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
include Config
|
include Config
|
||||||
|
|
||||||
VER = 5.30.0
|
VER = 5.32.1
|
||||||
|
|
||||||
THISAPP = perl-$(VER)
|
THISAPP = perl-$(VER)
|
||||||
DL_FILE = $(THISAPP).tar.gz
|
DL_FILE = $(THISAPP).tar.gz
|
||||||
@@ -50,7 +50,7 @@ objects = $(DL_FILE)
|
|||||||
|
|
||||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||||
|
|
||||||
$(DL_FILE)_MD5 = 9770584cdf9b5631c38097645ce33549
|
$(DL_FILE)_MD5 = 40dff18daf18178c7fc4579451be38ef
|
||||||
|
|
||||||
install : $(TARGET)
|
install : $(TARGET)
|
||||||
|
|
||||||
@@ -80,7 +80,6 @@ $(subst %,%_MD5,$(objects)) :
|
|||||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/perl-5.30.0-fix-build-failure-against-gcc-10.patch
|
|
||||||
ifeq "$(ROOT)" ""
|
ifeq "$(ROOT)" ""
|
||||||
cd $(DIR_APP) && ./configure.gnu --prefix=/usr -Dman1dir=/usr/share/man/man1 \
|
cd $(DIR_APP) && ./configure.gnu --prefix=/usr -Dman1dir=/usr/share/man/man1 \
|
||||||
-Dman3dir=/usr/share/man/man3 -Dpager="/usr/bin/less -isR" -Dusethreads
|
-Dman3dir=/usr/share/man/man3 -Dpager="/usr/bin/less -isR" -Dusethreads
|
||||||
|
|||||||
@@ -1,99 +0,0 @@
|
|||||||
https://bugs.gentoo.org/708744
|
|
||||||
|
|
||||||
From 6bd6308fcea3541e505651bf8e8127a4a03d22cd Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
|
||||||
Date: Tue, 12 Nov 2019 09:19:18 +0100
|
|
||||||
Subject: [PATCH] Adapt Configure to GCC version 10
|
|
||||||
|
|
||||||
I got a notice from Jeff Law <law@redhat.com>:
|
|
||||||
|
|
||||||
Your particular package fails its testsuite. This was ultimately
|
|
||||||
tracked down to a Configure problem. The perl configure script treated
|
|
||||||
gcc-10 as gcc-1 and turned on -fpcc-struct-return. This is an ABI
|
|
||||||
changing flag and caused Perl to not be able to interact properly with
|
|
||||||
the dbm libraries on the system leading to a segfault.
|
|
||||||
|
|
||||||
His proposed patch corrected only this one instance of the version
|
|
||||||
mismatch. Reading the Configure script revealed more issues. This
|
|
||||||
patch fixes all of them I found.
|
|
||||||
|
|
||||||
Please note I do not have GCC 10 available, I tested it by faking the version
|
|
||||||
with:
|
|
||||||
|
|
||||||
--- a/Configure
|
|
||||||
+++ b/Configure
|
|
||||||
@@ -4701,7 +4701,7 @@ else
|
|
||||||
fi
|
|
||||||
$rm -f try try.*
|
|
||||||
case "$gccversion" in
|
|
||||||
-1*) cpp=`./loc gcc-cpp $cpp $pth` ;;
|
|
||||||
+1.*) cpp=`./loc gcc-cpp $cpp $pth` ;;
|
|
||||||
esac
|
|
||||||
case "$gccversion" in
|
|
||||||
'') gccosandvers='' ;;
|
|
||||||
@@ -4741,7 +4741,7 @@ esac
|
|
||||||
# gcc 3.* complain about adding -Idirectories that they already know about,
|
|
||||||
# so we will take those off from locincpth.
|
|
||||||
case "$gccversion" in
|
|
||||||
-3*)
|
|
||||||
+3.*)
|
|
||||||
echo "main(){}">try.c
|
|
||||||
for incdir in $locincpth; do
|
|
||||||
warn=`$cc $ccflags -I$incdir -c try.c 2>&1 | \
|
|
||||||
@@ -5467,13 +5467,13 @@ fi
|
|
||||||
case "$hint" in
|
|
||||||
default|recommended)
|
|
||||||
case "$gccversion" in
|
|
||||||
- 1*) dflt="$dflt -fpcc-struct-return" ;;
|
|
||||||
+ 1.*) dflt="$dflt -fpcc-struct-return" ;;
|
|
||||||
esac
|
|
||||||
case "$optimize:$DEBUGGING" in
|
|
||||||
*-g*:old) dflt="$dflt -DDEBUGGING";;
|
|
||||||
esac
|
|
||||||
case "$gccversion" in
|
|
||||||
- 2*) if $test -d /etc/conf/kconfig.d &&
|
|
||||||
+ 2.*) if $test -d /etc/conf/kconfig.d &&
|
|
||||||
$contains _POSIX_VERSION $usrinc/sys/unistd.h >/dev/null 2>&1
|
|
||||||
then
|
|
||||||
# Interactive Systems (ISC) POSIX mode.
|
|
||||||
@@ -5482,7 +5482,7 @@ default|recommended)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
case "$gccversion" in
|
|
||||||
- 1*) ;;
|
|
||||||
+ 1.*) ;;
|
|
||||||
2.[0-8]*) ;;
|
|
||||||
?*) set strict-aliasing -fno-strict-aliasing
|
|
||||||
eval $checkccflag
|
|
||||||
@@ -5600,7 +5600,7 @@ case "$cppflags" in
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
case "$gccversion" in
|
|
||||||
-1*) cppflags="$cppflags -D__GNUC__"
|
|
||||||
+1.*) cppflags="$cppflags -D__GNUC__"
|
|
||||||
esac
|
|
||||||
case "$mips_type" in
|
|
||||||
'');;
|
|
||||||
@@ -23103,7 +23103,7 @@ fi
|
|
||||||
|
|
||||||
: add -D_FORTIFY_SOURCE if feasible and not already there
|
|
||||||
case "$gccversion" in
|
|
||||||
-[456789].*) case "$optimize$ccflags" in
|
|
||||||
+[456789].*|[1-9][0-9]*) case "$optimize$ccflags" in
|
|
||||||
*-O*) case "$ccflags$cppsymbols" in
|
|
||||||
*_FORTIFY_SOURCE=*) # Don't add it again.
|
|
||||||
echo "You seem to have -D_FORTIFY_SOURCE already, not adding it." >&4
|
|
||||||
--- a/cflags.SH
|
|
||||||
+++ b/cflags.SH
|
|
||||||
@@ -156,7 +156,7 @@ esac
|
|
||||||
|
|
||||||
case "$gccversion" in
|
|
||||||
'') ;;
|
|
||||||
-[12]*) ;; # gcc versions 1 (gasp!) and 2 are not good for this.
|
|
||||||
+[12].*) ;; # gcc versions 1 (gasp!) and 2 are not good for this.
|
|
||||||
Intel*) ;; # # Is that you, Intel C++?
|
|
||||||
#
|
|
||||||
# NOTE 1: the -std=c89 without -pedantic is a bit pointless.
|
|
||||||
--
|
|
||||||
2.25.0
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user