aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlitecpp
diff options
context:
space:
mode:
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