aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlitecpp
diff options
context:
space:
mode:
authorChristian Fersch <christian.fersch@ptvgroup.com>2020-09-04 20:50:55 +0200
committerGitHub <noreply@github.com>2020-09-04 11:50:55 -0700
commitc41328a87c1436820f9e3dd2c970d407de52eaf7 (patch)
treebd2efd08d9f07afc0d8a0a167be69cb2dcdb5777 /ports/sqlitecpp
parent4467eb334aa93b18858305697cf8c20950c4e925 (diff)
downloadvcpkg-c41328a87c1436820f9e3dd2c970d407de52eaf7.tar.gz
vcpkg-c41328a87c1436820f9e3dd2c970d407de52eaf7.zip
[sqlitecpp] Update to 3.1.1 (#13334)
Diffstat (limited to 'ports/sqlitecpp')
-rw-r--r--ports/sqlitecpp/CONTROL3
-rw-r--r--ports/sqlitecpp/fix_dependency.patch12
-rw-r--r--ports/sqlitecpp/portfile.cmake4
3 files changed, 9 insertions, 10 deletions
diff --git a/ports/sqlitecpp/CONTROL b/ports/sqlitecpp/CONTROL
index f617bf93e..a0566c037 100644
--- a/ports/sqlitecpp/CONTROL
+++ b/ports/sqlitecpp/CONTROL
@@ -1,6 +1,5 @@
Source: sqlitecpp
-Version: 3.0.0
-Port-Version: 2
+Version: 3.1.1
Build-Depends: sqlite3
Homepage: https://github.com/SRombauts/SQLiteCpp
Description: SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
diff --git a/ports/sqlitecpp/fix_dependency.patch b/ports/sqlitecpp/fix_dependency.patch
index 435061c02..a55c94cff 100644
--- a/ports/sqlitecpp/fix_dependency.patch
+++ b/ports/sqlitecpp/fix_dependency.patch
@@ -1,11 +1,11 @@
diff --git a/cmake/SQLiteCppConfig.cmake.in b/cmake/SQLiteCppConfig.cmake.in
-index 82c32db..a485ad8 100644
+index 568922f..01196db 100644
--- a/cmake/SQLiteCppConfig.cmake.in
+++ b/cmake/SQLiteCppConfig.cmake.in
@@ -1,5 +1,5 @@
include(CMakeFindDependencyMacro)
--find_dependency(SQLite3)
-+find_dependency(unofficial-sqlite3)
-
- @PACKAGE_INIT@
-
+-find_dependency(SQLite3 REQUIRED)
++find_dependency(unofficial-sqlite3 REQUIRED)
+ if(@UNIX@)
+ set(THREADS_PREFER_PTHREAD_FLAG @THREADS_PREFER_PTHREAD_FLAG@)
+ find_dependency(Threads REQUIRED)
diff --git a/ports/sqlitecpp/portfile.cmake b/ports/sqlitecpp/portfile.cmake
index 27d2e3204..85e4e819e 100644
--- a/ports/sqlitecpp/portfile.cmake
+++ b/ports/sqlitecpp/portfile.cmake
@@ -2,9 +2,9 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATH
REPO "SRombauts/SQLiteCpp"
- REF be1a8eeace02ce98dfa3da688d1011c5bb895985 #v3.0.0
+ REF 3.1.1
HEAD_REF master
- SHA512 d48b5915a2674f7f6da2737fa365e2202373e95cd20e819281b765a597e2fa8b8ae33f6553d65b6a8a93741e31633de3c75caf84fffa4313154c43ce634b1323
+ SHA512 9030b5249c149db8a5b2fe350f71613e4ee91061765a771640ed3ffa7c24aada4000ba884ef91790fdc0f13dc4519038c1edeba64b85b85ac09c3e955a7988a1
PATCHES
0001-Find-external-sqlite3.patch
fix_dependency.patch