lang/gcc11-devel: Update to 11.3.1.s20221021 and enable D lang compiler
- Update to 11.3.1.s20221021. - Enable D lang compiler (second attempt): this time the values in libphobos/libdruntime/core/sys/freebsd/config.d have been updated to include FreeBSD 14 (CURRENT), and while here the values corresponding to FreeBSD 12 and 13 have also been updated to the latest supported version [1]. PR: 266825 [1] Co-authored-by: Daniel Engberg <diizzy@FreeBSD.org>
This commit is contained in:
parent
14abc130b9
commit
f61fb49b2e
4 changed files with 23 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= gcc
|
||||
PORTVERSION= 11.3.1.s20221014
|
||||
PORTVERSION= 11.3.1.s20221021
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= GCC/snapshots/${DIST_VERSION}
|
||||
PKGNAMESUFFIX= ${SUFFIX}-devel
|
||||
|
@ -75,7 +75,7 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
|
|||
CONFIGURE_ARGS+= --with-abi=elfv2
|
||||
.endif
|
||||
|
||||
LANGUAGES:= c,c++,objc,fortran,jit
|
||||
LANGUAGES:= c,c++,d,objc,fortran,jit
|
||||
TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}
|
||||
TARGLIB32= ${PREFIX}/lib32 # The version information is added later
|
||||
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
|
||||
|
@ -120,6 +120,7 @@ INFO= gcc${SUFFIX}/cpp \
|
|||
gcc${SUFFIX}/gcc \
|
||||
gcc${SUFFIX}/gccinstall \
|
||||
gcc${SUFFIX}/gccint \
|
||||
gcc${SUFFIX}/gdc \
|
||||
gcc${SUFFIX}/gfortran \
|
||||
gcc${SUFFIX}/libgccjit \
|
||||
gcc${SUFFIX}/libgomp
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1665822677
|
||||
SHA256 (gcc-11-20221014.tar.xz) = 5b8804cd348168e200ce36aa36b4d9cbe69a27d4bc3819e1602de63b8411badf
|
||||
SIZE (gcc-11-20221014.tar.xz) = 75801968
|
||||
TIMESTAMP = 1666392616
|
||||
SHA256 (gcc-11-20221021.tar.xz) = dd890e520ce62cb28b7756f4acdf2094e8ad82a68683434fad49416f34b50802
|
||||
SIZE (gcc-11-20221021.tar.xz) = 75798884
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
--- libphobos/libdruntime/core/sys/freebsd/config.d.orig 2022-10-21 22:39:24 UTC
|
||||
+++ libphobos/libdruntime/core/sys/freebsd/config.d
|
||||
@@ -13,8 +13,9 @@ public import core.sys.posix.config;
|
||||
// __FreeBSD_version numbers are documented in the Porter's Handbook.
|
||||
// NOTE: When adding newer versions of FreeBSD, verify all current versioned
|
||||
// bindings are still compatible with the release.
|
||||
- version (FreeBSD_13) enum __FreeBSD_version = 1300000;
|
||||
-else version (FreeBSD_12) enum __FreeBSD_version = 1202000;
|
||||
+ version (FreeBSD_14) enum __FreeBSD_version = 1400000;
|
||||
+else version (FreeBSD_13) enum __FreeBSD_version = 1301000;
|
||||
+else version (FreeBSD_12) enum __FreeBSD_version = 1203000;
|
||||
else version (FreeBSD_11) enum __FreeBSD_version = 1104000;
|
||||
else version (FreeBSD_10) enum __FreeBSD_version = 1004000;
|
||||
else version (FreeBSD_9) enum __FreeBSD_version = 903000;
|
|
@ -5,6 +5,7 @@ bin/%%GNU_HOST%%-gcc-%%GCC_VERSION%%
|
|||
bin/%%GNU_HOST%%-gcc-ar%%SUFFIX%%
|
||||
bin/%%GNU_HOST%%-gcc-nm%%SUFFIX%%
|
||||
bin/%%GNU_HOST%%-gcc-ranlib%%SUFFIX%%
|
||||
bin/%%GNU_HOST%%-gdc%%SUFFIX%%
|
||||
bin/%%GNU_HOST%%-gfortran%%SUFFIX%%
|
||||
bin/c++%%SUFFIX%%
|
||||
bin/cpp%%SUFFIX%%
|
||||
|
@ -13,6 +14,7 @@ bin/gcc%%SUFFIX%%
|
|||
bin/gcc-ar%%SUFFIX%%
|
||||
bin/gcc-nm%%SUFFIX%%
|
||||
bin/gcc-ranlib%%SUFFIX%%
|
||||
bin/gdc%%SUFFIX%%
|
||||
bin/gcov%%SUFFIX%%
|
||||
bin/gcov-dump%%SUFFIX%%
|
||||
bin/gcov-tool%%SUFFIX%%
|
||||
|
@ -26,6 +28,7 @@ man/man1/gcc%%SUFFIX%%.1.gz
|
|||
man/man1/gcov%%SUFFIX%%.1.gz
|
||||
man/man1/gcov-dump%%SUFFIX%%.1.gz
|
||||
man/man1/gcov-tool%%SUFFIX%%.1.gz
|
||||
man/man1/gdc%%SUFFIX%%.1.gz
|
||||
man/man1/gfortran%%SUFFIX%%.1.gz
|
||||
man/man1/lto-dump%%SUFFIX%%.1.gz
|
||||
share/gcc-%%GCC_VERSION%%/python/libstdcxx/__init__.py
|
||||
|
|
Loading…
Reference in a new issue