1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

- Fix build problem on HEAD where libc++ bitset::test() and the

mysql built in macro test() from my_global.h clash.

The port requires another fix to properly compile on HEAD which
will be committed to libc++/include/memory on HEAD soon.

With hat:	portmgr
This commit is contained in:
Bernhard Froehlich 2013-10-05 15:55:13 +00:00
parent 29da85dd1c
commit 9a1cf8046f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329470

View File

@ -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>