lang/ldc: unbreak build on 14.0

Approved by:	portmgr blanket (trivial build fix)
This commit is contained in:
Dima Panov 2023-01-16 22:36:42 +03:00
parent e1287d0d12
commit f18fb3e845

View File

@ -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;