diff options
Diffstat (limited to 'databases/mysql57-server')
-rw-r--r-- | databases/mysql57-server/Makefile | 9 | ||||
-rw-r--r-- | databases/mysql57-server/files/rapid_plugin-patch-_x_mysqlxtest__src_mysqlxtest.cc | 12 |
2 files changed, 0 insertions, 21 deletions
diff --git a/databases/mysql57-server/Makefile b/databases/mysql57-server/Makefile index 0de63ddfca64..dca4ea980dd1 100644 --- a/databases/mysql57-server/Makefile +++ b/databases/mysql57-server/Makefile @@ -129,15 +129,6 @@ PERFSCHM_SUB_LIST+= PERFSCHEMRC="" PERFSCHM_SUB_LIST_OFF+= PERFSCHEMRC="--skip-performance-schema" .endif -.include <bsd.port.options.mk> - -### Just for the sake of FreeBSD 9.X ### -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -. if !defined(CLIENT_ONLY) -EXTRA_PATCHES+= ${PATCHDIR}/rapid_plugin-patch-_x_mysqlxtest__src_mysqlxtest.cc -. endif -.endif - .include <bsd.port.pre.mk> .if ${SSL_DEFAULT} == base diff --git a/databases/mysql57-server/files/rapid_plugin-patch-_x_mysqlxtest__src_mysqlxtest.cc b/databases/mysql57-server/files/rapid_plugin-patch-_x_mysqlxtest__src_mysqlxtest.cc deleted file mode 100644 index 078f3106848b..000000000000 --- a/databases/mysql57-server/files/rapid_plugin-patch-_x_mysqlxtest__src_mysqlxtest.cc +++ /dev/null @@ -1,12 +0,0 @@ ---- rapid/plugin/x/mysqlxtest_src/mysqlxtest.cc.orig 2016-03-28 18:06:12 UTC -+++ rapid/plugin/x/mysqlxtest_src/mysqlxtest.cc -@@ -1661,7 +1661,8 @@ private: - if (2 == argl.size()) - tolerance = atoi(argl[1].c_str()); - -- if (abs(expected_msec - msec) > tolerance) -+#define my_abs_64(x) ((x) < 0 ? (-x) : (x)) -+ if (my_abs_64((expected_msec - msec)) > tolerance) - { - std::cerr << "Timeout should occur after " << expected_msec << "ms, but it was " << msec <<"ms. \n"; - return Stop_with_failure; |