summaryrefslogtreecommitdiff
path: root/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.patch
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2016-12-16 23:46:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-17 01:18:31 +0700
commit4351b22263a36fffd403af9500b443a57d63d032 (patch)
treeea2cd0fb97651e3a9ee5589f388d408b6521e5b3 /libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.patch
parentbb594bc10f78b26d0cc3ea9fd4ce1219c0711c78 (diff)
downloadslackbuilds-4351b22263a36fffd403af9500b443a57d63d032.tar.gz
libraries/sqlpp11-connector-mysql: Added (connector for MySQL).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.patch')
-rw-r--r--libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.patch b/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.patch
new file mode 100644
index 0000000000..42ec5d67f3
--- /dev/null
+++ b/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.patch
@@ -0,0 +1,21 @@
+diff -ur sqlpp11-connector-mysql-0.20.old/CMakeLists.txt sqlpp11-connector-mysql-0.20/CMakeLists.txt
+--- sqlpp11-connector-mysql-0.20.old/CMakeLists.txt 2016-09-03 08:51:52.000000000 -0300
++++ sqlpp11-connector-mysql-0.20/CMakeLists.txt 2016-12-15 20:50:56.302051737 -0200
+@@ -72,7 +72,6 @@
+ include_directories("${DATE_INCLUDE_DIR}")
+ include_directories("${MYSQL_INCLUDE_DIRS}")
+ set(include_dir "${PROJECT_SOURCE_DIR}/include")
+-file(GLOB_RECURSE sqlpp_headers ${include_dir}/*.h ${SQLPP11_INCLUDE_DIR}/*.h)
+ include_directories(${include_dir})
+
+ add_subdirectory(src)
+Only in sqlpp11-connector-mysql-0.20: build
+diff -ur sqlpp11-connector-mysql-0.20.old/src/CMakeLists.txt sqlpp11-connector-mysql-0.20/src/CMakeLists.txt
+--- sqlpp11-connector-mysql-0.20.old/src/CMakeLists.txt 2016-09-03 08:51:52.000000000 -0300
++++ sqlpp11-connector-mysql-0.20/src/CMakeLists.txt 2016-12-15 20:52:25.970056347 -0200
+@@ -9,4 +9,4 @@
+ target_link_libraries(sqlpp-mysql "${Boost_THREAD_LIBRARY}")
+ endif()
+
+-install(TARGETS sqlpp-mysql DESTINATION lib)
++install(TARGETS sqlpp-mysql DESTINATION lib${LIB_SUFFIX})