From 83e7b512edb2c55ce0ae07098bf8566a0e1a20d9 Mon Sep 17 00:00:00 2001 From: Andre Barboza Date: Tue, 26 Sep 2017 08:01:36 -0300 Subject: [PATCH] libraries/sqlpp11-connector-sqlite3: Updated for version 0.25 Signed-off-by: Andre Barboza --- .../sqlpp11-connector-sqlite3.SlackBuild | 2 +- .../sqlpp11-connector-sqlite3.info | 6 ++--- .../sqlpp11-connector-sqlite3.patch | 24 ++++++++++--------- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.SlackBuild b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.SlackBuild index 2c4c289c73..d6a820cdb5 100644 --- a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.SlackBuild +++ b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sqlpp11-connector-sqlite3 -VERSION=${VERSION:-0.24} +VERSION=${VERSION:-0.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.info b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.info index 8aa0f92eb8..8516196c9f 100644 --- a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.info +++ b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.info @@ -1,8 +1,8 @@ PRGNAM="sqlpp11-connector-sqlite3" -VERSION="0.24" +VERSION="0.25" HOMEPAGE="https://github.com/rbock/sqlpp11-connector-sqlite3" -DOWNLOAD="https://github.com/rbock/sqlpp11-connector-sqlite3/archive/0.24/sqlpp11-connector-sqlite3-0.24.tar.gz" -MD5SUM="99a12d4d12383d4fde0bfae66e634b28" +DOWNLOAD="https://github.com/rbock/sqlpp11-connector-sqlite3/archive/0.25/sqlpp11-connector-sqlite3-0.25.tar.gz" +MD5SUM="7284fda1975474f7354da67ef12df0e1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="sqlpp11" diff --git a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.patch b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.patch index 779b066d34..38da3b8084 100644 --- a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.patch +++ b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.patch @@ -1,21 +1,23 @@ -diff -ur sqlpp11-connector-sqlite3-0.23.old/CMakeLists.txt sqlpp11-connector-sqlite3-0.23/CMakeLists.txt ---- sqlpp11-connector-sqlite3-0.23.old/CMakeLists.txt 2016-09-03 08:37:59.000000000 -0300 -+++ sqlpp11-connector-sqlite3-0.23/CMakeLists.txt 2016-12-15 17:13:47.022040304 -0200 -@@ -75,7 +75,6 @@ +diff -ru sqlpp11-connector-sqlite3-0.25.old/CMakeLists.txt sqlpp11-connector-sqlite3-0.25/CMakeLists.txt +--- sqlpp11-connector-sqlite3-0.25.old/CMakeLists.txt 2017-09-02 06:15:02.000000000 -0300 ++++ sqlpp11-connector-sqlite3-0.25/CMakeLists.txt 2017-09-26 07:55:27.798021515 -0300 +@@ -82,7 +82,7 @@ include_directories("${DATE_INCLUDE_DIR}") include_directories("${SQLITE3_INCLUDE_DIRS}") set(include_dir "${PROJECT_SOURCE_DIR}/include") -file(GLOB_RECURSE sqlpp_headers ${include_dir}/*.h ${SQLPP11_INCLUDE_DIR}/*.h) ++#file(GLOB_RECURSE sqlpp_headers ${include_dir}/*.h ${SQLPP11_INCLUDE_DIR}/*.h) include_directories(${include_dir}) add_subdirectory(src) -Only in sqlpp11-connector-sqlite3-0.23/src: .CMakeLists.txt.un~ -diff -ur sqlpp11-connector-sqlite3-0.23.old/src/CMakeLists.txt sqlpp11-connector-sqlite3-0.23/src/CMakeLists.txt ---- sqlpp11-connector-sqlite3-0.23.old/src/CMakeLists.txt 2016-09-03 08:37:59.000000000 -0300 -+++ sqlpp11-connector-sqlite3-0.23/src/CMakeLists.txt 2016-12-15 17:15:24.270043748 -0200 -@@ -4,4 +4,4 @@ - prepared_statement.cpp - detail/connection_handle.cpp) +diff -ru sqlpp11-connector-sqlite3-0.25.old/src/CMakeLists.txt sqlpp11-connector-sqlite3-0.25/src/CMakeLists.txt +--- sqlpp11-connector-sqlite3-0.25.old/src/CMakeLists.txt 2017-09-02 06:15:02.000000000 -0300 ++++ sqlpp11-connector-sqlite3-0.25/src/CMakeLists.txt 2017-09-26 07:52:43.037017830 -0300 +@@ -17,5 +17,5 @@ + target_compile_options(sqlpp11-connector-sqlite3-dynamic INTERFACE -DSQLPP_DYNAMIC_LOADING) + target_compile_options(sqlpp11-connector-sqlite3-dynamic PRIVATE -DSQLPP_DYNAMIC_LOADING -DSQLPP_DYNAMIC_LOADING_FILENAME=${SQLITE3_LIB_FILE}) -install(TARGETS sqlpp11-connector-sqlite3 DESTINATION lib) +-install(TARGETS sqlpp11-connector-sqlite3-dynamic DESTINATION lib) +install(TARGETS sqlpp11-connector-sqlite3 DESTINATION lib${LIB_SUFFIX}) ++install(TARGETS sqlpp11-connector-sqlite3-dynamic DESTINATION lib${LIB_SUFFIX})