diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:07:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:07:29 +0000 |
commit | 82a6365993a3c6650c39a1bca3ec3ccba827b763 (patch) | |
tree | 5c5987626fe4696f54de9cdedfa95e0251e4e7b4 /debian/patches/mips-groonga-atomic.patch | |
parent | Adding upstream version 1:10.5.12. (diff) | |
download | mariadb-10.5-82a6365993a3c6650c39a1bca3ec3ccba827b763.tar.xz mariadb-10.5-82a6365993a3c6650c39a1bca3ec3ccba827b763.zip |
Adding debian version 1:10.5.12-1.debian/1%10.5.12-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/mips-groonga-atomic.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/mips-groonga-atomic.patch b/debian/patches/mips-groonga-atomic.patch new file mode 100644 index 00000000..765ce47b --- /dev/null +++ b/debian/patches/mips-groonga-atomic.patch @@ -0,0 +1,34 @@ +Forwarded: https://github.com/MariaDB/server/pull/1716 +From: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org> +Date: Thu, 10 Aug 2017 20:40:28 +0200 +Subject: mips-groonga-atomic + MIPS (and possibly other) platforms require linking against libatomic to + support 64-bit atomic integers. Groonga was failing to do so and all related + tests were failing with an atomics relocation error on MIPS. +Author: James Cowgill <jcowgill@debian.org> +--- + storage/mroonga/vendor/groonga/CMakeLists.txt | 2 ++ + storage/mroonga/vendor/groonga/lib/CMakeLists.txt | 1 + + 2 files changed, 3 insertions(+) + +--- a/storage/mroonga/vendor/groonga/CMakeLists.txt ++++ b/storage/mroonga/vendor/groonga/CMakeLists.txt +@@ -237,6 +237,8 @@ endmacro() + include(build/ac_macros/check_headers.m4) + include(build/ac_macros/check_functions.m4) + ++ac_check_lib(atomic __atomic_store_8) ++ + ac_check_symbols(fpclassify math.h) + ac_check_lib(m fpclassify) + +--- a/storage/mroonga/vendor/groonga/lib/CMakeLists.txt ++++ b/storage/mroonga/vendor/groonga/lib/CMakeLists.txt +@@ -90,6 +90,7 @@ endif() + set_target_properties(libgroonga PROPERTIES OUTPUT_NAME "groonga") + + set(GRN_ALL_LIBRARIES ++ ${ATOMIC_LIBS} + ${EXECINFO_LIBS} + ${RT_LIBS} + ${PTHREAD_LIBS} |