Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2023 19:38:33 GMT
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f18fb3e845b5 - main - lang/ldc: unbreak build on 14.0
Message-ID:  <202301161938.30GJcXV8080300@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f18fb3e845b585bd0367f37a6c56438a6bc1e555

commit f18fb3e845b585bd0367f37a6c56438a6bc1e555
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-01-16 19:36:42 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-01-16 19:36:42 +0000

    lang/ldc: unbreak build on 14.0
    
    Approved by:    portmgr blanket (trivial build fix)
---
 .../patch-runtime_druntime_src_core_sys_freebsd_config.d     | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/lang/ldc/files/patch-runtime_druntime_src_core_sys_freebsd_config.d b/lang/ldc/files/patch-runtime_druntime_src_core_sys_freebsd_config.d
new file mode 100644
index 000000000000..9ecea32eed5f
--- /dev/null
+++ b/lang/ldc/files/patch-runtime_druntime_src_core_sys_freebsd_config.d
@@ -0,0 +1,12 @@
+--- runtime/druntime/src/core/sys/freebsd/config.d.orig	2022-07-20 17:05:31 UTC
++++ runtime/druntime/src/core/sys/freebsd/config.d
+@@ -14,7 +14,8 @@ public import core.sys.posix.config;
+ // 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;
++     version (FreeBSD_14) enum __FreeBSD_version = 1400000;
++else version (FreeBSD_13) enum __FreeBSD_version = 1300000;
+ else version (FreeBSD_12) enum __FreeBSD_version = 1202000;
+ else version (FreeBSD_11) enum __FreeBSD_version = 1104000;
+ else version (FreeBSD_10) enum __FreeBSD_version = 1004000;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301161938.30GJcXV8080300>