As we discussed in the last meeting, we reset the ports tree and began from scratch, even though this change involves porting all the packages. Starting small and growing gradually, this approach will reduce build times and consequently lower energy consumption in a world affected by climate change. We will add new ports as users needs arise; ok h3artbl33d@
This commit is contained in:
parent
83a0aaf92c
commit
9a3af55370
59377 changed files with 98673 additions and 4712155 deletions
21
databases/mariadb/patches/patch-cmake_libfmt_cmake
Normal file
21
databases/mariadb/patches/patch-cmake_libfmt_cmake
Normal file
|
@ -0,0 +1,21 @@
|
|||
MDEV-31963 cmake: fix libfmt usage
|
||||
|
||||
`fmt::detail::make_arg` does not accept temporaries, so the code snippet
|
||||
checking system libfmt needs to be adjusted.
|
||||
|
||||
f4cec369a392c8a6056207012992ad4a5639965a
|
||||
|
||||
Index: cmake/libfmt.cmake
|
||||
--- cmake/libfmt.cmake.orig
|
||||
+++ cmake/libfmt.cmake
|
||||
@@ -33,8 +33,9 @@ MACRO (CHECK_LIBFMT)
|
||||
#include <fmt/format-inl.h>
|
||||
#include <iostream>
|
||||
int main() {
|
||||
+ int answer= 42;
|
||||
fmt::format_args::format_arg arg=
|
||||
- fmt::detail::make_arg<fmt::format_context>(42);
|
||||
+ fmt::detail::make_arg<fmt::format_context>(answer);
|
||||
std::cout << fmt::vformat(\"The answer is {}.\",
|
||||
fmt::format_args(&arg, 1));
|
||||
}" HAVE_SYSTEM_LIBFMT)
|
Loading…
Add table
Add a link
Reference in a new issue