aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2013-10-06 21:41:29 +0800
committerflo <flo@FreeBSD.org>2013-10-06 21:41:29 +0800
commit26d5c4e192c20b4b391bb9c9b5e500c584ab2d36 (patch)
treecf8d4d7416ad3662c17f7889e06a104ab8654b98 /databases
parent8e58f38bc864db529a0e1284b809908669f8ccdd (diff)
downloadfreebsd-ports-gnome-26d5c4e192c20b4b391bb9c9b5e500c584ab2d36.tar.gz
freebsd-ports-gnome-26d5c4e192c20b4b391bb9c9b5e500c584ab2d36.tar.zst
freebsd-ports-gnome-26d5c4e192c20b4b391bb9c9b5e500c584ab2d36.zip
- merge r329470 by decke from mysql56 (head build fix)
- merge r329549 by marino from mysql56 (use shebangfix)
Diffstat (limited to 'databases')
-rw-r--r--databases/percona56-server/Makefile4
-rw-r--r--databases/percona56-server/files/patch-plugin_password_validation_validate_password.cc11
2 files changed, 14 insertions, 1 deletions
diff --git a/databases/percona56-server/Makefile b/databases/percona56-server/Makefile
index df78d62583c2..c2bca091e0bd 100644
--- a/databases/percona56-server/Makefile
+++ b/databases/percona56-server/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= flo@FreeBSD.org
COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/percona56-client
-USES= bison cmake
+USES= bison cmake shebangfix
OPTIONS_DEFINE= OPENSSL FASTMTX
OPTIONS_DEFAULT= OPENSSL
@@ -40,6 +40,8 @@ CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \
-DWITH_LIBWRAP=1 \
-DHAVE_PAM=0
+SHEBANG_FILES= scripts/*.pl* scripts/*.sh
+
.ifdef USE_MYSQL
.error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
diff --git a/databases/percona56-server/files/patch-plugin_password_validation_validate_password.cc b/databases/percona56-server/files/patch-plugin_password_validation_validate_password.cc
new file mode 100644
index 000000000000..653f03095030
--- /dev/null
+++ b/databases/percona56-server/files/patch-plugin_password_validation_validate_password.cc
@@ -0,0 +1,11 @@
+--- plugin/password_validation/validate_password.cc.orig 2013-09-10 07:38:25.000000000 +0000
++++ plugin/password_validation/validate_password.cc 2013-10-05 15:40:20.790380179 +0000
+@@ -16,6 +16,8 @@
+ #include <my_sys.h>
+ #include <string>
+ #include <mysql/plugin_validate_password.h>
++/* solve clash between libc++ bitset::test() and test macro from my_global.h */
++#undef test
+ #include <set>
+ #include <iostream>
+ #include <fstream>