diff options
author | ale <ale@FreeBSD.org> | 2014-09-23 23:03:22 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2014-09-23 23:03:22 +0800 |
commit | e5257a092509b238dae9b4db039ee983ed9a04a4 (patch) | |
tree | 5b57a2194a9b575dced5ccc1518203f5b92b524d /databases | |
parent | afaa0c22daf5d6aa8160d1140174e5a32e4794fe (diff) | |
download | freebsd-ports-graphics-e5257a092509b238dae9b4db039ee983ed9a04a4.tar.gz freebsd-ports-graphics-e5257a092509b238dae9b4db039ee983ed9a04a4.tar.zst freebsd-ports-graphics-e5257a092509b238dae9b4db039ee983ed9a04a4.zip |
Update to 5.5.40 release and unbreak on armv6 [1].
PR: 193841 [1]
Submitted by: mikael.urankar@gmail.com
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql55-client/files/patch-sql_common_client_plugin.c | 47 | ||||
-rw-r--r-- | databases/mysql55-client/pkg-plist | 4 | ||||
-rw-r--r-- | databases/mysql55-server/Makefile | 10 | ||||
-rw-r--r-- | databases/mysql55-server/distinfo | 4 | ||||
-rw-r--r-- | databases/mysql55-server/files/patch-sql_common_client_plugin.c | 47 | ||||
-rw-r--r-- | databases/mysql55-server/pkg-plist | 28 |
6 files changed, 98 insertions, 42 deletions
diff --git a/databases/mysql55-client/files/patch-sql_common_client_plugin.c b/databases/mysql55-client/files/patch-sql_common_client_plugin.c new file mode 100644 index 00000000000..069eaef76e1 --- /dev/null +++ b/databases/mysql55-client/files/patch-sql_common_client_plugin.c @@ -0,0 +1,47 @@ +--- sql-common/client_plugin.c.orig 2014-09-22 09:23:23 UTC ++++ sql-common/client_plugin.c +@@ -233,11 +233,13 @@ + { + MYSQL mysql; + struct st_mysql_client_plugin **builtin; ++ va_list unused; + + if (initialized) + return 0; + + bzero(&mysql, sizeof(mysql)); /* dummy mysql for set_mysql_extended_error */ ++ bzero(&unused, sizeof(unused)); /* suppress uninitialized-value warnings */ + + pthread_mutex_init(&LOCK_load_client_plugin, MY_MUTEX_INIT_SLOW); + init_alloc_root(&mem_root, 128, 128); +@@ -249,7 +251,7 @@ + pthread_mutex_lock(&LOCK_load_client_plugin); + + for (builtin= mysql_client_builtins; *builtin; builtin++) +- add_plugin(&mysql, *builtin, 0, 0, 0); ++ add_plugin(&mysql, *builtin, 0, 0, unused); + + pthread_mutex_unlock(&LOCK_load_client_plugin); + +@@ -293,9 +295,12 @@ + mysql_client_register_plugin(MYSQL *mysql, + struct st_mysql_client_plugin *plugin) + { ++ va_list unused; + if (is_not_initialized(mysql, plugin->name)) + return NULL; + ++ bzero(&unused, sizeof(unused)); /* suppress uninitialized-value warnings */ ++ + pthread_mutex_lock(&LOCK_load_client_plugin); + + /* make sure the plugin wasn't loaded meanwhile */ +@@ -307,7 +312,7 @@ + plugin= NULL; + } + else +- plugin= add_plugin(mysql, plugin, 0, 0, 0); ++ plugin= add_plugin(mysql, plugin, 0, 0, unused); + + pthread_mutex_unlock(&LOCK_load_client_plugin); + return plugin; diff --git a/databases/mysql55-client/pkg-plist b/databases/mysql55-client/pkg-plist index 48f1952005f..d650fcb03a2 100644 --- a/databases/mysql55-client/pkg-plist +++ b/databases/mysql55-client/pkg-plist @@ -83,7 +83,3 @@ man/man1/mysqlimport.1.gz man/man1/mysqlshow.1.gz man/man1/mysqlslap.1.gz share/aclocal/mysql.m4 -@dirrm include/mysql/mysql/psi -@dirrm include/mysql/mysql -@dirrm include/mysql -@dirrmtry lib/mysql diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile index 0b0cace79ed..c24e5577865 100644 --- a/databases/mysql55-server/Makefile +++ b/databases/mysql55-server/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME?= mysql -PORTVERSION= 5.5.39 +PORTVERSION= 5.5.40 PORTREVISION?= 0 CATEGORIES= databases ipv6 MASTER_SITES= ${MASTER_SITE_MYSQL} @@ -83,10 +83,4 @@ CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" post-patch: @${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt -.include <bsd.port.pre.mk> - -.if ${ARCH} == "arm" -BROKEN= Does not compile on arm -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/databases/mysql55-server/distinfo b/databases/mysql55-server/distinfo index 0581d58ad4e..52631029778 100644 --- a/databases/mysql55-server/distinfo +++ b/databases/mysql55-server/distinfo @@ -1,2 +1,2 @@ -SHA256 (mysql-5.5.39.tar.gz) = 1893a00b034da6ff4159b81348388dc65eca6c3ae12962bd446e9b3d105b4862 -SIZE (mysql-5.5.39.tar.gz) = 21713567 +SHA256 (mysql-5.5.40.tar.gz) = 4d3721761a31c28866e8ee0fde47558a3e9047aaef3b89135ae8d45eebb74960 +SIZE (mysql-5.5.40.tar.gz) = 21727672 diff --git a/databases/mysql55-server/files/patch-sql_common_client_plugin.c b/databases/mysql55-server/files/patch-sql_common_client_plugin.c new file mode 100644 index 00000000000..069eaef76e1 --- /dev/null +++ b/databases/mysql55-server/files/patch-sql_common_client_plugin.c @@ -0,0 +1,47 @@ +--- sql-common/client_plugin.c.orig 2014-09-22 09:23:23 UTC ++++ sql-common/client_plugin.c +@@ -233,11 +233,13 @@ + { + MYSQL mysql; + struct st_mysql_client_plugin **builtin; ++ va_list unused; + + if (initialized) + return 0; + + bzero(&mysql, sizeof(mysql)); /* dummy mysql for set_mysql_extended_error */ ++ bzero(&unused, sizeof(unused)); /* suppress uninitialized-value warnings */ + + pthread_mutex_init(&LOCK_load_client_plugin, MY_MUTEX_INIT_SLOW); + init_alloc_root(&mem_root, 128, 128); +@@ -249,7 +251,7 @@ + pthread_mutex_lock(&LOCK_load_client_plugin); + + for (builtin= mysql_client_builtins; *builtin; builtin++) +- add_plugin(&mysql, *builtin, 0, 0, 0); ++ add_plugin(&mysql, *builtin, 0, 0, unused); + + pthread_mutex_unlock(&LOCK_load_client_plugin); + +@@ -293,9 +295,12 @@ + mysql_client_register_plugin(MYSQL *mysql, + struct st_mysql_client_plugin *plugin) + { ++ va_list unused; + if (is_not_initialized(mysql, plugin->name)) + return NULL; + ++ bzero(&unused, sizeof(unused)); /* suppress uninitialized-value warnings */ ++ + pthread_mutex_lock(&LOCK_load_client_plugin); + + /* make sure the plugin wasn't loaded meanwhile */ +@@ -307,7 +312,7 @@ + plugin= NULL; + } + else +- plugin= add_plugin(mysql, plugin, 0, 0, 0); ++ plugin= add_plugin(mysql, plugin, 0, 0, unused); + + pthread_mutex_unlock(&LOCK_load_client_plugin); + return plugin; diff --git a/databases/mysql55-server/pkg-plist b/databases/mysql55-server/pkg-plist index 0f16319c5a8..e85c956dab7 100644 --- a/databases/mysql55-server/pkg-plist +++ b/databases/mysql55-server/pkg-plist @@ -1,4 +1,3 @@ -@stopdaemon mysql-server bin/innochecksum bin/my_print_defaults bin/myisam_ftdump @@ -136,30 +135,3 @@ man/man8/mysqld.8.gz %%DATADIR%%/spanish/errmsg.sys %%DATADIR%%/swedish/errmsg.sys %%DATADIR%%/ukrainian/errmsg.sys -@dirrm lib/mysql/plugin -@dirrmtry lib/mysql -@dirrm %%DATADIR%%/charsets -@dirrm %%DATADIR%%/czech -@dirrm %%DATADIR%%/danish -@dirrm %%DATADIR%%/dutch -@dirrm %%DATADIR%%/english -@dirrm %%DATADIR%%/estonian -@dirrm %%DATADIR%%/french -@dirrm %%DATADIR%%/german -@dirrm %%DATADIR%%/greek -@dirrm %%DATADIR%%/hungarian -@dirrm %%DATADIR%%/italian -@dirrm %%DATADIR%%/japanese -@dirrm %%DATADIR%%/korean -@dirrm %%DATADIR%%/norwegian -@dirrm %%DATADIR%%/norwegian-ny -@dirrm %%DATADIR%%/polish -@dirrm %%DATADIR%%/portuguese -@dirrm %%DATADIR%%/romanian -@dirrm %%DATADIR%%/russian -@dirrm %%DATADIR%%/serbian -@dirrm %%DATADIR%%/slovak -@dirrm %%DATADIR%%/spanish -@dirrm %%DATADIR%%/swedish -@dirrm %%DATADIR%%/ukrainian -@dirrm %%DATADIR%% |