git: cc72f4c4cf3c - main - lang/gcc11: Fix build on FreeBSD 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Sep 2023 11:28:57 UTC
The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=cc72f4c4cf3c0d05823600f9ffd068d6e9a6da55 commit cc72f4c4cf3c0d05823600f9ffd068d6e9a6da55 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2023-09-10 13:17:46 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2023-09-14 11:28:53 +0000 lang/gcc11: Fix build on FreeBSD 15 Update files/patch-libphobos_libdruntime_core_sys_freebsd_config.d patch to take into account FreeBSD 15. See also commit 929ca7ff802f14a2852122678d0c1b9e5a89be22 which already did the same thing for lang/gcc11-devel. The new patch is indeed a copy of the one in lang/gcc11-devel. --- .../files/patch-libphobos_libdruntime_core_sys_freebsd_config.d | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lang/gcc11/files/patch-libphobos_libdruntime_core_sys_freebsd_config.d b/lang/gcc11/files/patch-libphobos_libdruntime_core_sys_freebsd_config.d index 99288f341271..eaa033bb48ac 100644 --- a/lang/gcc11/files/patch-libphobos_libdruntime_core_sys_freebsd_config.d +++ b/lang/gcc11/files/patch-libphobos_libdruntime_core_sys_freebsd_config.d @@ -1,12 +1,13 @@ ---- libphobos/libdruntime/core/sys/freebsd/config.d.orig 2022-10-21 22:39:24 UTC +--- libphobos/libdruntime/core/sys/freebsd/config.d.orig 2023-08-31 22:33:21 UTC +++ libphobos/libdruntime/core/sys/freebsd/config.d -@@ -13,8 +13,9 @@ public import core.sys.posix.config; +@@ -13,8 +13,10 @@ 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; ++ version (FreeBSD_15) enum __FreeBSD_version = 1500000; ++else version (FreeBSD_14) enum __FreeBSD_version = 1400000; +else version (FreeBSD_13) enum __FreeBSD_version = 1302000; +else version (FreeBSD_12) enum __FreeBSD_version = 1204000; else version (FreeBSD_11) enum __FreeBSD_version = 1104000;