]> TLD Linux GIT Repositories - packages/mysql.git/commitdiff
- from PLD, force building with system libhsclient
authorMarcin Krol <hawk@tld-linux.org>
Thu, 22 Jun 2017 21:44:04 +0000 (21:44 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 22 Jun 2017 21:44:04 +0000 (21:44 +0000)
mysql-system-libhsclient.patch [new file with mode: 0644]

diff --git a/mysql-system-libhsclient.patch b/mysql-system-libhsclient.patch
new file mode 100644 (file)
index 0000000..ca81903
--- /dev/null
@@ -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)