diff options
-rw-r--r-- | databases/mariadb55-client/Makefile | 1 | ||||
-rw-r--r-- | databases/mariadb55-client/files/patch-client_CMakeLists.txt | 18 | ||||
-rw-r--r-- | databases/mariadb55-server/Makefile | 4 | ||||
-rw-r--r-- | databases/mariadb55-server/distinfo | 6 | ||||
-rw-r--r-- | databases/mariadb55-server/files/patch-MDEV-15961 | 47 | ||||
-rw-r--r-- | databases/mariadb55-server/files/patch-client_CMakeLists.txt | 16 |
6 files changed, 23 insertions, 69 deletions
diff --git a/databases/mariadb55-client/Makefile b/databases/mariadb55-client/Makefile index d8eae0d35137..42536a9fca2f 100644 --- a/databases/mariadb55-client/Makefile +++ b/databases/mariadb55-client/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ PORTNAME= mariadb -PORTREVISION= 1 PKGNAMESUFFIX= 55-client COMMENT= Multithreaded SQL database (client) diff --git a/databases/mariadb55-client/files/patch-client_CMakeLists.txt b/databases/mariadb55-client/files/patch-client_CMakeLists.txt index 25484091f9ba..cd2f4feaff4b 100644 --- a/databases/mariadb55-client/files/patch-client_CMakeLists.txt +++ b/databases/mariadb55-client/files/patch-client_CMakeLists.txt @@ -1,6 +1,6 @@ ---- client/CMakeLists.txt.orig 2017-04-30 11:09:29 UTC +--- client/CMakeLists.txt.orig 2019-04-26 12:37:01 UTC +++ client/CMakeLists.txt -@@ -34,11 +34,12 @@ IF(UNIX) +@@ -35,12 +35,13 @@ IF(UNIX) SET_TARGET_PROPERTIES(mysql PROPERTIES ENABLE_EXPORTS TRUE) ENDIF(UNIX) @@ -9,12 +9,13 @@ SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS") TARGET_LINK_LIBRARIES(mysqltest mysqlclient regex) SET_TARGET_PROPERTIES(mysqltest PROPERTIES ENABLE_EXPORTS TRUE) -- +ENDIF() +- MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c) TARGET_LINK_LIBRARIES(mysqlcheck mysqlclient) -@@ -50,15 +51,19 @@ MYSQL_ADD_EXECUTABLE(mysqlimport mysqlim + +@@ -51,15 +52,19 @@ MYSQL_ADD_EXECUTABLE(mysqlimport mysqlimport.c) SET_SOURCE_FILES_PROPERTIES(mysqlimport.c PROPERTIES COMPILE_FLAGS "-DTHREADS") TARGET_LINK_LIBRARIES(mysqlimport mysqlclient) @@ -34,17 +35,18 @@ MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc) TARGET_LINK_LIBRARIES(mysqlbinlog mysqlclient) -@@ -76,10 +81,12 @@ IF(WIN32) +@@ -76,11 +81,13 @@ IF(WIN32) + MYSQL_ADD_EXECUTABLE(echo echo.c COMPONENT Junk) ENDIF(WIN32) - # async_example is just a code example, do not install it. +IF(FALSE) + # async_example is just a code example, do not install it. ADD_EXECUTABLE(async_example async_example.c) TARGET_LINK_LIBRARIES(async_example mysqlclient) +ENDIF() --SET_TARGET_PROPERTIES (mysqlcheck mysqldump mysqlimport mysql_upgrade mysqlshow mysqlslap mysql_plugin -+SET_TARGET_PROPERTIES (mysqlcheck mysqldump mysqlimport mysqlshow mysqlslap +-SET_TARGET_PROPERTIES (mysqlcheck mysqldump mysqlimport mysql_upgrade mysqlshow mysqlslap mysql_plugin async_example ++SET_TARGET_PROPERTIES (mysqlcheck mysqldump mysqlimport mysqlshow mysqlslap PROPERTIES HAS_CXX TRUE) ADD_DEFINITIONS(-DHAVE_DLOPEN) diff --git a/databases/mariadb55-server/Makefile b/databases/mariadb55-server/Makefile index b7cda62e556f..0c5b6b440ec8 100644 --- a/databases/mariadb55-server/Makefile +++ b/databases/mariadb55-server/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ PORTNAME?= mariadb -PORTVERSION= 5.5.63 -PORTREVISION?= 1 +PORTVERSION= 5.5.64 +PORTREVISION?= 0 CATEGORIES= databases ipv6 MASTER_SITES= http://ftp.osuosl.org/pub/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirrors.supportex.net/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ diff --git a/databases/mariadb55-server/distinfo b/databases/mariadb55-server/distinfo index d6af6b0641fa..73eab7153dfa 100644 --- a/databases/mariadb55-server/distinfo +++ b/databases/mariadb55-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1549015056 -SHA256 (mariadb-5.5.63.tar.gz) = ef1cf79eec32ced9d1051998a8e458bb33dfbc62de297cba37ee8e9f952b21ea -SIZE (mariadb-5.5.63.tar.gz) = 45946425 +TIMESTAMP = 1556393099 +SHA256 (mariadb-5.5.64.tar.gz) = c103f3c54741b296980d6be48b221340eebaa97c6bd95a02fd8d530a5df5c343 +SIZE (mariadb-5.5.64.tar.gz) = 45953561 diff --git a/databases/mariadb55-server/files/patch-MDEV-15961 b/databases/mariadb55-server/files/patch-MDEV-15961 deleted file mode 100644 index cbe9fecafb48..000000000000 --- a/databases/mariadb55-server/files/patch-MDEV-15961 +++ /dev/null @@ -1,47 +0,0 @@ -https://jira.mariadb.org/browse/MDEV-15961 - ---- mysys/stacktrace.c.orig 2018-01-18 17:10:31 UTC -+++ mysys/stacktrace.c -@@ -34,19 +34,19 @@ - #include <execinfo.h> - #endif - -+#ifdef __linux__ - #define PTR_SANE(p) ((p) && (char*)(p) >= heap_start && (char*)(p) <= heap_end) -- - static char *heap_start; -- --#ifdef HAVE_BSS_START - extern char *__bss_start; --#endif -+#else -+#define PTR_SANE(p) (p) -+#endif /* __linux */ - - void my_init_stacktrace() - { --#ifdef HAVE_BSS_START -+#ifdef __linux__ - heap_start = (char*) &__bss_start; --#endif -+#endif /* __linux__ */ - } - - #ifdef __linux__ -@@ -131,14 +131,14 @@ static int safe_print_str(const char *ad - - void my_safe_print_str(const char* val, int max_len) - { -+#ifdef __linux__ - char *heap_end; - --#ifdef __linux__ - if (!safe_print_str(val, max_len)) - return; --#endif - - heap_end= (char*) sbrk(0); -+#endif - - if (!PTR_SANE(val)) - { diff --git a/databases/mariadb55-server/files/patch-client_CMakeLists.txt b/databases/mariadb55-server/files/patch-client_CMakeLists.txt index 2da687b78acd..ecd046771b61 100644 --- a/databases/mariadb55-server/files/patch-client_CMakeLists.txt +++ b/databases/mariadb55-server/files/patch-client_CMakeLists.txt @@ -1,6 +1,6 @@ ---- client/CMakeLists.txt.orig 2017-04-30 11:09:29 UTC +--- client/CMakeLists.txt.orig 2019-04-26 12:37:01 UTC +++ client/CMakeLists.txt -@@ -26,6 +26,7 @@ INCLUDE_DIRECTORIES( +@@ -27,6 +27,7 @@ INCLUDE_DIRECTORIES( ) ADD_DEFINITIONS(${SSL_DEFINES}) @@ -8,7 +8,7 @@ MYSQL_ADD_EXECUTABLE(mysql completion_hash.cc mysql.cc readline.cc ${CMAKE_SOURCE_DIR}/sql/sql_string.cc) TARGET_LINK_LIBRARIES(mysql mysqlclient) -@@ -33,6 +34,7 @@ IF(UNIX) +@@ -34,6 +35,7 @@ IF(UNIX) TARGET_LINK_LIBRARIES(mysql ${MY_READLINE_LIBRARY}) SET_TARGET_PROPERTIES(mysql PROPERTIES ENABLE_EXPORTS TRUE) ENDIF(UNIX) @@ -16,7 +16,7 @@ MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test) SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS") -@@ -40,6 +42,7 @@ TARGET_LINK_LIBRARIES(mysqltest mysqlcli +@@ -41,6 +43,7 @@ TARGET_LINK_LIBRARIES(mysqltest mysqlclient regex) SET_TARGET_PROPERTIES(mysqltest PROPERTIES ENABLE_EXPORTS TRUE) @@ -24,7 +24,7 @@ MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c) TARGET_LINK_LIBRARIES(mysqlcheck mysqlclient) -@@ -49,17 +52,21 @@ TARGET_LINK_LIBRARIES(mysqldump mysqlcli +@@ -50,17 +53,21 @@ TARGET_LINK_LIBRARIES(mysqldump mysqlclient) MYSQL_ADD_EXECUTABLE(mysqlimport mysqlimport.c) SET_SOURCE_FILES_PROPERTIES(mysqlimport.c PROPERTIES COMPILE_FLAGS "-DTHREADS") TARGET_LINK_LIBRARIES(mysqlimport mysqlclient) @@ -46,7 +46,7 @@ MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc) TARGET_LINK_LIBRARIES(mysqlbinlog mysqlclient) -@@ -69,17 +76,20 @@ TARGET_LINK_LIBRARIES(mysqladmin mysqlcl +@@ -70,17 +77,20 @@ TARGET_LINK_LIBRARIES(mysqladmin mysqlclient) MYSQL_ADD_EXECUTABLE(mysqlslap mysqlslap.c) SET_SOURCE_FILES_PROPERTIES(mysqlslap.c PROPERTIES COMPILE_FLAGS "-DTHREADS") TARGET_LINK_LIBRARIES(mysqlslap mysqlclient) @@ -63,8 +63,8 @@ TARGET_LINK_LIBRARIES(async_example mysqlclient) +ENDIF() --SET_TARGET_PROPERTIES (mysqlcheck mysqldump mysqlimport mysql_upgrade mysqlshow mysqlslap mysql_plugin -+SET_TARGET_PROPERTIES (mysql_upgrade mysql_plugin +-SET_TARGET_PROPERTIES (mysqlcheck mysqldump mysqlimport mysql_upgrade mysqlshow mysqlslap mysql_plugin async_example ++SET_TARGET_PROPERTIES (mysql_upgrade mysql_plugin PROPERTIES HAS_CXX TRUE) ADD_DEFINITIONS(-DHAVE_DLOPEN) |