From 8321bdd0e1879ed93b95d4472016334aa0706a3c Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 22 Jun 2017 21:44:04 +0000 Subject: [PATCH] - from PLD, force building with system libhsclient --- mysql-system-libhsclient.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mysql-system-libhsclient.patch diff --git a/mysql-system-libhsclient.patch b/mysql-system-libhsclient.patch new file mode 100644 index 0000000..ca81903 --- /dev/null +++ b/mysql-system-libhsclient.patch @@ -0,0 +1,15 @@ +--- percona-server-5.6.20-68.0/plugin/HandlerSocket-Plugin-for-MySQL/CMakeLists.txt.orig 2014-09-06 08:40:46.096111513 +0200 ++++ percona-server-5.6.20-68.0/plugin/HandlerSocket-Plugin-for-MySQL/CMakeLists.txt 2014-09-07 07:52:06.829274818 +0200 +@@ -2,10 +2,9 @@ + STRING(REPLACE "-fno-implicit-templates" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) + ENDIF() + ADD_DEFINITIONS(-fno-rtti -fno-exceptions -fPIC -DPIC) +-ADD_SUBDIRECTORY(libhsclient) +-INCLUDE_DIRECTORIES(libhsclient) ++INCLUDE_DIRECTORIES(/usr/include/handlersocket) + SET ( HANDLERSOCKET_SOURCES + handlersocket/database.cpp handlersocket/handlersocket.cpp handlersocket/hstcpsvr_worker.cpp handlersocket/hstcpsvr.cpp + ) + +-MYSQL_ADD_PLUGIN(handlersocket ${HANDLERSOCKET_SOURCES} LINK_LIBRARIES hsclient MODULE_ONLY) ++MYSQL_ADD_PLUGIN(handlersocket ${HANDLERSOCKET_SOURCES} LINK_LIBRARIES hsclient MODULE_ONLY) -- 2.46.0