From 7556ad75417e6f529107f92517fe635e3bae4b2b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:37:52 +0100 Subject: [PATCH] update to 11.3.0 [release 11.3.0-1mamba;Thu Apr 28 2022] --- gcc-4.3.2-ecj1-wrapper | 5 ----- gcc.spec | 22 ++++++++++++---------- 2 files changed, 12 insertions(+), 15 deletions(-) delete mode 100644 gcc-4.3.2-ecj1-wrapper diff --git a/gcc-4.3.2-ecj1-wrapper b/gcc-4.3.2-ecj1-wrapper deleted file mode 100644 index 01f3a30..0000000 --- a/gcc-4.3.2-ecj1-wrapper +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -gij --classpath /usr/share/java/ecj.jar \ - org.eclipse.jdt.internal.compiler.batch.GCCMain \ - ${1+"$@"} diff --git a/gcc.spec b/gcc.spec index d3e7ccb..039d2e5 100644 --- a/gcc.spec +++ b/gcc.spec @@ -39,7 +39,7 @@ %define majver %(echo %version | cut -d. -f 1-2) Name: gcc -Version: 11.2.0 +Version: 11.3.0 Release: 1mamba Summary: GNU Compiler Collection (C, C++, Fortran, Go, Ada) Group: Applications/Development @@ -47,9 +47,8 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://gcc.gnu.org/ -Source: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}%{?gcc_extraver}.tar.xz +Source: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}%{?gcc_extraver}.tar.xz Source1: ftp://sourceware.org/pub/java/ecj-latest.jar -Source2: gcc-4.3.2-ecj1-wrapper Patch0: %{name}-4.5.0-no_fixincludes.patch Patch1: %{name}-4.0.2-zextract.patch Patch2: gcc4-java-nomulti.patch @@ -70,13 +69,6 @@ Patch19: gcc-7.1.0-cross-ftbfs-ucontet_t.patch Patch20: gcc-10.1.0-arm-provide-futex-atomic-functions.patch License: GPL ## AUTOBUILDREQ-BEGIN -BuildRequires: glibc-devel -BuildRequires: libgmp-devel -BuildRequires: libisl-devel -BuildRequires: libmpc-devel -BuildRequires: libmpfr-devel -BuildRequires: libz-devel -BuildRequires: libzstd-devel ## AUTOBUILDREQ-END %if "%{?cross_target_cpu}" == "" BuildRequires: binutils @@ -619,6 +611,13 @@ Cross Platform gcc for %{_target_platform}. %patch20 -p1 ## workaround for gcc-go #cp libgo/go/internal/syscall/unix/{getrandom_linux_arm.go,dummy.go} +cat >> libgo/go/internal/syscall/unix/dummy.go << __EOF + +const ( + getrandomTrap uintptr = 384 + copyFileRangeTrap uintptr = 391 +) +__EOF %endif # Do not run fixincludes @@ -1504,6 +1503,9 @@ rm -f %{buildroot}%{_infodir}/libffi.info* %endif %changelog +* Thu Apr 28 2022 Silvan Calarco 11.3.0-1mamba +- update to 11.3.0 + * Wed Jul 28 2021 Automatic Build System 11.2.0-1mamba - automatic version update by autodist