diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2016-03-27 20:57:51 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2016-03-27 20:57:51 +0000 |
commit | 63fec1d6d4f53c480ff3db3308e0da8e029ca027 (patch) | |
tree | 8c457b51b278855ab62a43afb7b75378462e9a63 /databases/mariadb101-server/files | |
parent | 1a4024d154a0b132c12faaf390c42ef89c9805dc (diff) | |
download | ports-63fec1d6d4f53c480ff3db3308e0da8e029ca027.tar.gz ports-63fec1d6d4f53c480ff3db3308e0da8e029ca027.zip |
Notes
Diffstat (limited to 'databases/mariadb101-server/files')
16 files changed, 138 insertions, 147 deletions
diff --git a/databases/mariadb101-server/files/patch-CMakeLists.txt b/databases/mariadb101-server/files/patch-CMakeLists.txt index 0a25755095a1..6133bbc0be89 100644 --- a/databases/mariadb101-server/files/patch-CMakeLists.txt +++ b/databases/mariadb101-server/files/patch-CMakeLists.txt @@ -1,8 +1,8 @@ Fix up missing WITHOUT_DOCS, WITHOUT_CLIENT options ---- CMakeLists.txt.orig 2015-10-15 15:43:35 UTC +--- CMakeLists.txt.orig 2016-03-24 09:12:10 UTC +++ CMakeLists.txt -@@ -452,6 +452,7 @@ ADD_CUSTOM_TARGET(INFO_BIN ALL +@@ -460,6 +460,7 @@ ADD_CUSTOM_TARGET(INFO_BIN ALL WORKING_DIRECTORY ${CMAKE_BINARY_DIR} ) @@ -10,7 +10,7 @@ Fix up missing WITHOUT_DOCS, WITHOUT_CLIENT options INSTALL_DOCUMENTATION(README CREDITS COPYING COPYING.LESSER COPYING.thirdparty EXCEPTIONS-CLIENT COMPONENT Readme) # MDEV-6526 these files are not installed anymore -@@ -462,6 +463,7 @@ IF(UNIX) +@@ -470,6 +471,7 @@ IF(UNIX) INSTALL_DOCUMENTATION(Docs/INSTALL-BINARY COMPONENT Readme) INSTALL_DOCUMENTATION(Docs/INSTALL-BINARY Docs/README-wsrep COMPONENT Readme) ENDIF() diff --git a/databases/mariadb101-server/files/patch-cmake_jemalloc.cmake b/databases/mariadb101-server/files/patch-cmake_jemalloc.cmake deleted file mode 100644 index 187de9ad4298..000000000000 --- a/databases/mariadb101-server/files/patch-cmake_jemalloc.cmake +++ /dev/null @@ -1,24 +0,0 @@ -Fix jemalloc detection on FreeBSD 10.x -Upstream https://github.com/MariaDB/server/pull/140 - ---- cmake/jemalloc.cmake.orig 2015-12-23 15:33:29 UTC -+++ cmake/jemalloc.cmake -@@ -12,9 +12,16 @@ MACRO(JEMALLOC_TRY_STATIC) - ENDMACRO() - - MACRO(JEMALLOC_TRY_DYNAMIC) -- SET(libname jemalloc) - SET(what system) -- CHECK_LIBRARY_EXISTS(${libname} malloc_stats_print "" HAVE_DYNAMIC_JEMALLOC) -+ IF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND -+ CMAKE_SYSTEM_VERSION STRGREATER "10.0") -+ # Since FreeBSD 10.0 jemalloc is in base libc -+ SET(libname c) -+ SET(HAVE_DYNAMIC_JEMALLOC ON) -+ ELSE() -+ SET(libname jemalloc) -+ CHECK_LIBRARY_EXISTS(${libname} malloc_stats_print "" HAVE_DYNAMIC_JEMALLOC) -+ ENDIF() - ENDMACRO() - - MACRO (CHECK_JEMALLOC) diff --git a/databases/mariadb101-server/files/patch-cmake_ssl.cmake b/databases/mariadb101-server/files/patch-cmake_ssl.cmake index b1178daef4be..5f8c1c0b6910 100644 --- a/databases/mariadb101-server/files/patch-cmake_ssl.cmake +++ b/databases/mariadb101-server/files/patch-cmake_ssl.cmake @@ -1,7 +1,7 @@ MariaDB prefers static libraries, breaks builds with ports' OpenSSL libs ---- cmake/ssl.cmake.orig 2015-12-23 15:33:29 UTC +--- cmake/ssl.cmake.orig 2016-03-24 09:12:10 UTC +++ cmake/ssl.cmake @@ -145,9 +145,9 @@ MACRO (MYSQL_CHECK_SSL) @@ -16,3 +16,16 @@ ports' OpenSSL libs FIND_LIBRARY(OPENSSL_LIBRARIES NAMES ssl ssleay32 ssleay32MD HINTS ${OPENSSL_ROOT_DIR}/lib) +@@ -156,9 +156,9 @@ MACRO (MYSQL_CHECK_SSL) + HINTS ${OPENSSL_ROOT_DIR}/lib) + MARK_AS_ADVANCED(CRYPTO_LIBRARY OPENSSL_LIBRARIES OPENSSL_ROOT_DIR + OPENSSL_INCLUDE_DIR) +- IF (WITH_SSL_PATH) +- LIST(REVERSE CMAKE_FIND_LIBRARY_SUFFIXES) +- ENDIF() ++# IF (WITH_SSL_PATH) ++# LIST(REVERSE CMAKE_FIND_LIBRARY_SUFFIXES) ++# ENDIF() + + INCLUDE(CheckSymbolExists) + SET(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR}) diff --git a/databases/mariadb101-server/files/patch-extra_CMakeLists.txt b/databases/mariadb101-server/files/patch-extra_CMakeLists.txt index cb63c979ddb1..997335e12623 100644 --- a/databases/mariadb101-server/files/patch-extra_CMakeLists.txt +++ b/databases/mariadb101-server/files/patch-extra_CMakeLists.txt @@ -2,7 +2,7 @@ Fix up missing WITHOUT_DOCS, WITHOUT_CLIENT options --- extra/CMakeLists.txt.orig 2015-10-15 15:43:36 UTC +++ extra/CMakeLists.txt -@@ -91,6 +91,8 @@ IF(UNIX) +@@ -100,6 +100,8 @@ IF(UNIX) MYSQL_ADD_EXECUTABLE(resolve_stack_dump resolve_stack_dump.c) TARGET_LINK_LIBRARIES(resolve_stack_dump mysys) diff --git a/databases/mariadb101-server/files/patch-include_mysql_service__encryption.h b/databases/mariadb101-server/files/patch-include_mysql_service__encryption.h deleted file mode 100644 index da83bd73860b..000000000000 --- a/databases/mariadb101-server/files/patch-include_mysql_service__encryption.h +++ /dev/null @@ -1,16 +0,0 @@ -Fix build error - ---- include/mysql/service_encryption.h.orig 2015-10-15 15:43:37 UTC -+++ include/mysql/service_encryption.h -@@ -35,9 +35,11 @@ extern "C" { - #define inline __inline - #endif - #else -+#ifndef __FreeBSD__ - #include <alloca.h> - #endif - #endif -+#endif - - /* returned from encryption_key_get_latest_version() */ - #define ENCRYPTION_KEY_VERSION_INVALID (~(unsigned int)0) diff --git a/databases/mariadb101-server/files/patch-mysys_my__default.c b/databases/mariadb101-server/files/patch-mysys_my__default.c index cb478ffdac4c..e861e7bb731f 100644 --- a/databases/mariadb101-server/files/patch-mysys_my__default.c +++ b/databases/mariadb101-server/files/patch-mysys_my__default.c @@ -1,6 +1,6 @@ Obey hier(7) ---- mysys/my_default.c.orig 2015-10-15 15:43:45 UTC +--- mysys/my_default.c.orig 2016-03-24 09:12:11 UTC +++ mysys/my_default.c @@ -90,7 +90,7 @@ static my_bool defaults_already_read= FA @@ -11,7 +11,7 @@ Obey hier(7) #define DEFAULT_DIRS_SIZE (MAX_DEFAULT_DIRS + 1) /* Terminate with NULL */ static const char **default_directories = NULL; -@@ -784,7 +784,7 @@ static int search_default_file_with_ext( +@@ -785,7 +785,7 @@ static int search_default_file_with_ext( { MY_STAT stat_info; if (!my_stat(name,&stat_info,MYF(0))) @@ -20,7 +20,7 @@ Obey hier(7) /* Ignore world-writable regular files. This is mainly done to protect us to not read a file created by -@@ -802,6 +802,14 @@ static int search_default_file_with_ext( +@@ -803,6 +803,14 @@ static int search_default_file_with_ext( if (!(fp= mysql_file_fopen(key_file_cnf, name, O_RDONLY, MYF(0)))) return 1; /* Ignore wrong files */ @@ -35,7 +35,7 @@ Obey hier(7) while (mysql_file_fgets(buff, sizeof(buff) - 1, fp)) { line++; -@@ -1066,7 +1074,8 @@ void my_print_default_files(const char * +@@ -1067,7 +1075,8 @@ void my_print_default_files(const char * if (name[0] == FN_HOMELIB) /* Add . to filenames in home */ *end++= '.'; strxmov(end, conf_file, *ext, " ", NullS); @@ -45,7 +45,7 @@ Obey hier(7) } } } -@@ -1222,13 +1231,10 @@ static const char **init_default_directo +@@ -1223,13 +1232,10 @@ static const char **init_default_directo #else diff --git a/databases/mariadb101-server/files/patch-pcre_CMakeLists.txt b/databases/mariadb101-server/files/patch-pcre_CMakeLists.txt index ccc16dac9a0c..9aececfcf846 100644 --- a/databases/mariadb101-server/files/patch-pcre_CMakeLists.txt +++ b/databases/mariadb101-server/files/patch-pcre_CMakeLists.txt @@ -1,8 +1,8 @@ Fix up missing WITHOUT_DOCS, WITHOUT_CLIENT options ---- pcre/CMakeLists.txt.orig 2015-10-15 15:43:45 UTC +--- pcre/CMakeLists.txt.orig 2016-03-24 09:12:11 UTC +++ pcre/CMakeLists.txt -@@ -513,6 +513,8 @@ IF(PCRE_SHOW_REPORT) +@@ -508,6 +508,8 @@ IF(PCRE_SHOW_REPORT) MESSAGE(STATUS "") ENDIF(PCRE_SHOW_REPORT) diff --git a/databases/mariadb101-server/files/patch-plugin_auth__gssapi_gssapi__server.cc b/databases/mariadb101-server/files/patch-plugin_auth__gssapi_gssapi__server.cc deleted file mode 100644 index 6326771dfb06..000000000000 --- a/databases/mariadb101-server/files/patch-plugin_auth__gssapi_gssapi__server.cc +++ /dev/null @@ -1,23 +0,0 @@ -From 3d794d0ee8e0a5a7dfbd3b7de056c0a3ccb9aa81 Mon Sep 17 00:00:00 2001 -From: Vladislav Vaintroub <wlad@mariadb.com> - -Date: Wed, 6 Jan 2016 09:15:19 +0100 -Subject: [PATCH] MDEV9494 Fix build for Heimdal Kerberos ---- - - plugin/auth_gssapi/gssapi_server.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/plugin/auth_gssapi/gssapi_server.cc b/plugin/auth_gssapi/gssapi_server.cc -index d325b2a..ed042a0 100644 ---- plugin/auth_gssapi/gssapi_server.cc.orig 2016-01-28 12:12:51 UTC -+++ plugin/auth_gssapi/gssapi_server.cc -@@ -58,7 +58,7 @@ static char* get_default_principal_name() - } - - /* Check for entry in keytab */ -- if (krb5_kt_read_service_key(context, NULL, principal, 0, 0, &key)) -+ if (krb5_kt_read_service_key(context, NULL, principal, 0, (krb5_enctype)0, &key)) - { - sql_print_warning("GSSAPI plugin : default principal '%s' not found in keytab", unparsed_name); - goto cleanup; diff --git a/databases/mariadb101-server/files/patch-sql_sys__vars.cc b/databases/mariadb101-server/files/patch-sql_sys__vars.cc index 4f99a9c96e83..f34ba95f612e 100644 --- a/databases/mariadb101-server/files/patch-sql_sys__vars.cc +++ b/databases/mariadb101-server/files/patch-sql_sys__vars.cc @@ -1,8 +1,8 @@ Fix clang build error ---- sql/sys_vars.cc.orig 2015-10-15 15:43:47 UTC +--- sql/sys_vars.cc.orig 2016-03-24 09:12:12 UTC +++ sql/sys_vars.cc -@@ -1040,7 +1040,7 @@ static Sys_var_ulong Sys_interactive_tim +@@ -1052,7 +1052,7 @@ static Sys_var_ulong Sys_interactive_tim "connection before closing it", NO_SET_STMT SESSION_VAR(net_interactive_timeout), CMD_LINE(REQUIRED_ARG), @@ -11,7 +11,7 @@ Fix clang build error static Sys_var_ulonglong Sys_join_buffer_size( "join_buffer_size", -@@ -2214,7 +2214,7 @@ static Sys_var_ulong Sys_net_read_timeou +@@ -2239,7 +2239,7 @@ static Sys_var_ulong Sys_net_read_timeou "Number of seconds to wait for more data from a connection before " "aborting the read", SESSION_VAR(net_read_timeout), CMD_LINE(REQUIRED_ARG), @@ -20,7 +20,7 @@ Fix clang build error NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), ON_UPDATE(fix_net_read_timeout)); -@@ -2229,7 +2229,7 @@ static Sys_var_ulong Sys_net_write_timeo +@@ -2254,7 +2254,7 @@ static Sys_var_ulong Sys_net_write_timeo "Number of seconds to wait for a block to be written to a connection " "before aborting the write", SESSION_VAR(net_write_timeout), CMD_LINE(REQUIRED_ARG), @@ -29,7 +29,7 @@ Fix clang build error NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), ON_UPDATE(fix_net_write_timeout)); -@@ -3424,7 +3424,7 @@ static Sys_var_ulong Sys_net_wait_timeou +@@ -3449,7 +3449,7 @@ static Sys_var_ulong Sys_net_wait_timeou "The number of seconds the server waits for activity on a " "connection before closing it", NO_SET_STMT SESSION_VAR(net_wait_timeout), CMD_LINE(REQUIRED_ARG), diff --git a/databases/mariadb101-server/files/patch-storage_oqgraph_graphcore.cc b/databases/mariadb101-server/files/patch-storage_oqgraph_graphcore.cc new file mode 100644 index 000000000000..e4c6300000ed --- /dev/null +++ b/databases/mariadb101-server/files/patch-storage_oqgraph_graphcore.cc @@ -0,0 +1,14 @@ +Patch to allow build with clang from Don Lewis +https://jira.mariadb.org/projects/MDEV/issues/MDEV-8051 + +--- storage/oqgraph/graphcore.cc.orig 2016-01-28 12:12:55 UTC ++++ storage/oqgraph/graphcore.cc +@@ -485,7 +485,7 @@ namespace open_query + optional<Vertex> + oqgraph_share::find_vertex(VertexID id) const + { +- return ::boost::find_vertex(id, g); ++ return oqgraph3::find_vertex(id, g); + } + + #if 0 diff --git a/databases/mariadb101-server/files/patch-storage_oqgraph_oqgraph__shim.h b/databases/mariadb101-server/files/patch-storage_oqgraph_oqgraph__shim.h new file mode 100644 index 000000000000..6ee9e0672bb0 --- /dev/null +++ b/databases/mariadb101-server/files/patch-storage_oqgraph_oqgraph__shim.h @@ -0,0 +1,76 @@ +Patch to allow build with clang from Don Lewis +https://jira.mariadb.org/projects/MDEV/issues/MDEV-8051 + +--- storage/oqgraph/oqgraph_shim.h.orig 2016-01-28 12:12:55 UTC ++++ storage/oqgraph/oqgraph_shim.h +@@ -254,7 +254,7 @@ namespace boost + typedef no_property type; + }; + +-#if BOOST_VERSION >= 104601 ++#if BOOST_VERSION >= 104601 && BOOST_VERSION < 104900 + template <> + struct graph_bundle_type<oqgraph3::graph> + { +@@ -274,6 +274,33 @@ namespace boost + }; + #endif + ++ template<> ++ struct property_map<oqgraph3::graph, edge_weight_t> ++ { ++ typedef void type; ++ typedef oqgraph3::edge_weight_property_map const_type; ++ }; ++ ++ template<> ++ struct property_map<oqgraph3::graph, vertex_index_t> ++ { ++ typedef void type; ++ typedef oqgraph3::vertex_index_property_map const_type; ++ }; ++ ++ template<> ++ struct property_map<oqgraph3::graph, edge_index_t> ++ { ++ typedef void type; ++ typedef oqgraph3::edge_index_property_map const_type; ++ }; ++ ++} ++ ++namespace oqgraph3 ++{ ++ using namespace boost; ++ + inline graph_traits<oqgraph3::graph>::vertex_descriptor + source( + const graph_traits<oqgraph3::graph>::edge_descriptor& e, +@@ -401,27 +428,6 @@ namespace boost + return count; + } + +- template<> +- struct property_map<oqgraph3::graph, edge_weight_t> +- { +- typedef void type; +- typedef oqgraph3::edge_weight_property_map const_type; +- }; +- +- template<> +- struct property_map<oqgraph3::graph, vertex_index_t> +- { +- typedef void type; +- typedef oqgraph3::vertex_index_property_map const_type; +- }; +- +- template<> +- struct property_map<oqgraph3::graph, edge_index_t> +- { +- typedef void type; +- typedef oqgraph3::edge_index_property_map const_type; +- }; +- + inline property_map< + oqgraph3::graph, + edge_weight_t>::const_type::reference diff --git a/databases/mariadb101-server/files/patch-storage_tokudb_CMakeLists.txt b/databases/mariadb101-server/files/patch-storage_tokudb_CMakeLists.txt index 4d07b3f5cead..5cf61d87a4f8 100644 --- a/databases/mariadb101-server/files/patch-storage_tokudb_CMakeLists.txt +++ b/databases/mariadb101-server/files/patch-storage_tokudb_CMakeLists.txt @@ -1,24 +1,12 @@ ---- storage/tokudb/CMakeLists.txt.orig 2015-12-23 15:33:32 UTC +--- storage/tokudb/CMakeLists.txt.orig 2016-03-26 16:20:50 UTC +++ storage/tokudb/CMakeLists.txt -@@ -1,7 +1,8 @@ - SET(TOKUDB_VERSION 5.6.26-74.0) - # PerconaFT only supports x86-64 and cmake-2.8.9+ --IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND -- NOT CMAKE_VERSION VERSION_LESS "2.8.9") -+IF( ( CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" -+ OR CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64" ) -+ AND NOT CMAKE_VERSION VERSION_LESS "2.8.9") - CHECK_CXX_SOURCE_COMPILES( - " - struct a {int b; int c; }; -@@ -107,8 +109,8 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINA +@@ -103,9 +103,6 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINA TARGET_LINK_LIBRARIES(tokudb tokufractaltree_static tokuportability_static ${ZLIB_LIBRARY} stdc++) -SET(CMAKE_MODULE_LINKER_FLAGS_RELEASE "${CMAKE_MODULE_LINKER_FLAGS_RELEASE} -flto -fuse-linker-plugin") -SET(CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO} -flto -fuse-linker-plugin") -+SET(CMAKE_MODULE_LINKER_FLAGS_RELEASE "${CMAKE_MODULE_LINKER_FLAGS_RELEASE}") -+SET(CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO}") - +- SET(CPACK_RPM_server_PACKAGE_OBSOLETES "${CPACK_RPM_server_PACKAGE_OBSOLETES} MariaDB-tokudb-engine < 10.0.5" PARENT_SCOPE) + diff --git a/databases/mariadb101-server/files/patch-storage_tokudb_PerconaFT_CMakeLists.txt b/databases/mariadb101-server/files/patch-storage_tokudb_PerconaFT_CMakeLists.txt new file mode 100644 index 000000000000..02a4b3a48684 --- /dev/null +++ b/databases/mariadb101-server/files/patch-storage_tokudb_PerconaFT_CMakeLists.txt @@ -0,0 +1,11 @@ +--- storage/tokudb/PerconaFT/CMakeLists.txt.orig 2016-03-26 18:18:05 UTC ++++ storage/tokudb/PerconaFT/CMakeLists.txt +@@ -77,7 +77,7 @@ add_subdirectory(src) + add_subdirectory(ftcxx) + add_subdirectory(tools) + +-INSTALL_DOCUMENTATION(README.md COPYING.AGPLv3 COPYING.GPLv2 PATENTS ++INSTALL_DOCUMENTATION(README.md + COMPONENT Server) + + ## build tags diff --git a/databases/mariadb101-server/files/patch-storage_tokudb_PerconaFT_buildheader_CMakeLists.txt b/databases/mariadb101-server/files/patch-storage_tokudb_PerconaFT_buildheader_CMakeLists.txt deleted file mode 100644 index 1a470a3d3df4..000000000000 --- a/databases/mariadb101-server/files/patch-storage_tokudb_PerconaFT_buildheader_CMakeLists.txt +++ /dev/null @@ -1,29 +0,0 @@ -https://github.com/MariaDB/server/pull/157 - -MDEV-9657 - Use /bin/sh #157 - -Sp1l commented Feb 27, 2016 - -Remove Linuxism. - -Works fine with a POSIX-compat shell - ---- storage/tokudb/PerconaFT/buildheader/CMakeLists.txt.orig 2016-01-28 12:12:55 UTC -+++ storage/tokudb/PerconaFT/buildheader/CMakeLists.txt -@@ -1,6 +1,6 @@ - set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES "") - --file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/runcat.sh" "#!/bin/bash -+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/runcat.sh" "#!/bin/sh - out=$1; shift - exec \"$@\" >$out") - -@@ -8,7 +8,7 @@ add_executable(make_tdb make_tdb.cc) - set_property(TARGET make_tdb APPEND PROPERTY COMPILE_DEFINITIONS _GNU_SOURCE) - add_custom_command( - OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/db.h" -- COMMAND bash runcat.sh "${CMAKE_CURRENT_BINARY_DIR}/db.h" $<TARGET_FILE:make_tdb> -+ COMMAND sh runcat.sh "${CMAKE_CURRENT_BINARY_DIR}/db.h" $<TARGET_FILE:make_tdb> - DEPENDS make_tdb) - add_custom_target(install_tdb_h DEPENDS - "${CMAKE_CURRENT_BINARY_DIR}/db.h") diff --git a/databases/mariadb101-server/files/patch-storage_tokudb_PerconaFT_cmake__modules_TokuFeatureDetection.cmake b/databases/mariadb101-server/files/patch-storage_tokudb_PerconaFT_cmake__modules_TokuFeatureDetection.cmake deleted file mode 100644 index 96a52556c11b..000000000000 --- a/databases/mariadb101-server/files/patch-storage_tokudb_PerconaFT_cmake__modules_TokuFeatureDetection.cmake +++ /dev/null @@ -1,19 +0,0 @@ -Fix failing backtrace detection - ---- storage/tokudb/PerconaFT/cmake_modules/TokuFeatureDetection.cmake.orig 2015-10-15 15:43:51 UTC -+++ storage/tokudb/PerconaFT/cmake_modules/TokuFeatureDetection.cmake -@@ -87,13 +87,7 @@ if (NOT HAVE_DLSYM_WITHOUT_DL) - endif () - check_function_exists(backtrace HAVE_BACKTRACE_WITHOUT_EXECINFO) - if (NOT HAVE_BACKTRACE_WITHOUT_EXECINFO) -- set(CMAKE_REQUIRED_LIBRARIES execinfo) -- check_function_exists(backtrace HAVE_BACKTRACE_WITH_EXECINFO) -- if (HAVE_BACKTRACE_WITH_EXECINFO) -- list(APPEND EXTRA_SYSTEM_LIBS execinfo) -- else () -- message(FATAL_ERROR "Cannot find backtrace(), even with -lexecinfo.") -- endif () -+ list(APPEND EXTRA_SYSTEM_LIBS execinfo) - endif () - - if(HAVE_CLOCK_REALTIME) diff --git a/databases/mariadb101-server/files/patch-support-files_CMakeLists.txt b/databases/mariadb101-server/files/patch-support-files_CMakeLists.txt index 95efe8825ede..e97065fbfe4e 100644 --- a/databases/mariadb101-server/files/patch-support-files_CMakeLists.txt +++ b/databases/mariadb101-server/files/patch-support-files_CMakeLists.txt @@ -1,6 +1,6 @@ Fix up missing WITHOUT_DOCS, WITHOUT_CLIENT options ---- support-files/CMakeLists.txt.orig 2015-10-15 15:44:15 UTC +--- support-files/CMakeLists.txt.orig 2016-03-24 09:12:15 UTC +++ support-files/CMakeLists.txt @@ -64,7 +64,9 @@ IF(UNIX) CONFIGURE_FILE(mariadb.pc.in ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc @ONLY) @@ -10,5 +10,5 @@ Fix up missing WITHOUT_DOCS, WITHOUT_CLIENT options INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development) +ENDIF() - SET(bindir ${prefix}/${INSTALL_BINDIR}) - SET(sbindir ${prefix}/${INSTALL_SBINDIR}) + SET(bindir ${INSTALL_BINDIRABS}) + SET(sbindir ${INSTALL_SBINDIRABS}) |