[packages/percona-server] Workaround for storage/tokudb/PerconaFT/portability/toku_assert.h:53:2: error: #error NDEBUG should
arekm
arekm at pld-linux.org
Thu May 15 16:29:20 CEST 2025
commit 7c2911eb3f90606a86c110044beb22815b2082c6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 15 15:54:09 2025 +0200
Workaround for storage/tokudb/PerconaFT/portability/toku_assert.h:53:2: error: #error NDEBUG should not be set
build.patch | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/build.patch b/build.patch
index 775c542..1541a5b 100644
--- a/build.patch
+++ b/build.patch
@@ -83,3 +83,13 @@
COMMAND touch "${CMAKE_CURRENT_BINARY_DIR}/ctags-stamp"
DEPENDS ${all_srcs} ${all_hdrs} install_tdb_h generate_config_h generate_log_code
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
+--- percona-server-5.7.44-48/storage/tokudb/PerconaFT/portability/toku_assert.h~ 2023-11-30 20:46:46.000000000 +0100
++++ percona-server-5.7.44-48/storage/tokudb/PerconaFT/portability/toku_assert.h 2025-05-15 15:43:01.238611434 +0200
+@@ -43,6 +43,7 @@ Copyright (c) 2006, 2015, Percona and/or
+ /* This version will complain if NDEBUG is set. */
+ /* It evaluates the argument and then calls a function toku_do_assert() which takes all the hits for the branches not taken. */
+
++#undef NDEBUG
+ #include <portability/toku_config.h>
+
+ #include <stdint.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/7c2911eb3f90606a86c110044beb22815b2082c6
More information about the pld-cvs-commit
mailing list