summaryrefslogtreecommitdiff
path: root/databases/mariadb100-server/files/patch-cmake_jemalloc.cmake
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2015-08-12 13:19:36 +0000
committerBernard Spil <brnrd@FreeBSD.org>2015-08-12 13:19:36 +0000
commit4af533cdd3b05dd2ffa3f86bd7fb3e3b34712ebf (patch)
tree9eb7da1ac6becd20e72014281649419132f02d48 /databases/mariadb100-server/files/patch-cmake_jemalloc.cmake
parentUpdate to ocurl 0.7.5 (bugfix release) (diff)
databases/mariadb100-server: Update to 10.0.21
- Update to 10.0.21 - Updates mariadb100-client as well (slave-port) - Silence portlint - Re-roll patches with makepatch [1] https://mariadb.atlassian.net/browse/MDEV-7398 [2] https://mariadb.atlassian.net/browse/MDEV-8128 Changes: https://mariadb.com/kb/en/mariadb/mariadb-10021-changelog/ Differential revision: https://reviews.freebsd.org/D2771 Reviewed by: koobs (mentor), vsevolod (mentor) Approved by: vsevolod (mentor) PR: 200097 Security: 36bd352d-299b-11e5-86ff-14dae9d210b8 MFH: 2015Q3
Diffstat (limited to 'databases/mariadb100-server/files/patch-cmake_jemalloc.cmake')
-rw-r--r--databases/mariadb100-server/files/patch-cmake_jemalloc.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/mariadb100-server/files/patch-cmake_jemalloc.cmake b/databases/mariadb100-server/files/patch-cmake_jemalloc.cmake
new file mode 100644
index 000000000000..ca8a8626617e
--- /dev/null
+++ b/databases/mariadb100-server/files/patch-cmake_jemalloc.cmake
@@ -0,0 +1,18 @@
+--- cmake/jemalloc.cmake.orig 2015-06-17 14:54:11 UTC
++++ cmake/jemalloc.cmake
+@@ -24,12 +24,12 @@ MACRO (CHECK_JEMALLOC)
+ SET(what system)
+ ENDIF()
+
+- CHECK_LIBRARY_EXISTS(${libname} malloc_stats_print "" HAVE_JEMALLOC)
++ CHECK_LIBRARY_EXISTS(c malloc_stats_print "" HAVE_JEMALLOC)
+ SET(CMAKE_REQUIRED_LIBRARIES)
+
+ IF (HAVE_JEMALLOC)
+- SET(LIBJEMALLOC ${libname})
+- SET(MALLOC_LIBRARY "${what} jemalloc")
++ SET(LIBJEMALLOC c)
++ SET(MALLOC_LIBRARY "system jemalloc")
+ ELSEIF (NOT WITH_JEMALLOC STREQUAL "auto")
+ MESSAGE(FATAL_ERROR "${libname} is not found")
+ ENDIF()