Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/emulators/fbsd-duckstation/files/extra-patch-disable-consteval.txt
49058 views
1
--- dep/fmt/include/fmt/core.h.orig 2026-05-18 12:50:33 UTC
2
+++ dep/fmt/include/fmt/core.h
3
@@ -216,20 +216,8 @@
4
# define FMT_UNICODE !FMT_MSC_VERSION
5
#endif
6
7
-#ifndef FMT_CONSTEVAL
8
-# if ((FMT_GCC_VERSION >= 1000 || FMT_CLANG_VERSION >= 1101) && \
9
- (!defined(__apple_build_version__) || \
10
- __apple_build_version__ >= 14000029L) && \
11
- FMT_CPLUSPLUS >= 202002L) || \
12
- (defined(__cpp_consteval) && \
13
- (!FMT_MSC_VERSION || _MSC_FULL_VER >= 193030704))
14
-// consteval is broken in MSVC before VS2022 and Apple clang before 14.
15
-# define FMT_CONSTEVAL consteval
16
-# define FMT_HAS_CONSTEVAL
17
-# else
18
-# define FMT_CONSTEVAL
19
-# endif
20
-#endif
21
+// Disable consteval
22
+#define FMT_CONSTEVAL
23
24
#ifndef FMT_USE_NONTYPE_TEMPLATE_ARGS
25
# if defined(__cpp_nontype_template_args) && \
26
27