gcc: update to 11.2.0

This commit is contained in:
Juergen Daubert 2021-12-28 16:57:54 +01:00
parent 904e24af51
commit 946243bed6
3 changed files with 1536 additions and 1472 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/core.pub
RWRJc1FUaeVeqqgjsJUC4lChIzSFru1iE8fJ5EKqr7zVZWVkYVNjbsJQVx/f+EMtIIJ9gbaabiHC/qycnSOahmsYgZk5Ri4pQgw=
SHA256 (Pkgfile) = 9ab3e3a74da685a2539e021d2443a7f282ff4e47504a7ff9b86a75bcea311327
SHA256 (.footprint) = 9eb4640415822db0988891e34f931e78f7366abcda21339cdea2e03b98879561
SHA256 (gcc-10.3.0.tar.xz) = 64f404c1a650f27fc33da242e1f2df54952e3963a49e06e73f6940f3223ac344
RWRJc1FUaeVeqjIzURyJrP7qRAsOp5lhAOu1jS8rAkx9cInRMT+1GQEty8zowgpT4hG7VcuUvyDeQDlmCu+33nZZkgfFvxGqBA0=
SHA256 (Pkgfile) = ea862f4f19e7cebe883156fbd34e2be505198d8e36ad198d905a0fd5128f693d
SHA256 (.footprint) = c50b396f39837f01035fd00bb474e78027b83284f3f0fa6c23bf4fea252137f9
SHA256 (gcc-11.2.0.tar.xz) = d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b
SHA256 (gcc-nocheck-fixincludes.patch) = 850a71d2c64b9f2bec31821bd972bf89c2d57764faf64948100eaf474fd63bbb
SHA256 (gcc-4.7.3-multilib-dirs.patch) = 149b151999d0afad909ca0d1eaf1f9a81c9cd6499e56989ec4fc574d108eeef6

View File

@ -4,11 +4,21 @@
# Depends on: zlib libmpc zstd
name=gcc
version=10.3.0
version=11.2.0
release=1
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-$version/$name-$version.tar.xz \
source=(https://sourceware.org/pub/gcc/releases/gcc-$version/$name-$version.tar.xz
$name-nocheck-fixincludes.patch $name-4.7.3-multilib-dirs.patch)
unpack_source() {
for file in ${source[@]}; do
case ${file##*/} in
${name#*-}-$version.tar.xz)
tar xf $(get_filename $file) -C $SRC ;;
*)
cp $(get_filename $file) $SRC ;;
esac
done
}
build() {
patch -d $name-$version -p1 -i $SRC/$name-nocheck-fixincludes.patch