Skip to content

Commit

Permalink
sqlcipher: update to 4.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed May 30, 2024
1 parent d66f461 commit 0cd1681
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions databases/sqlcipher/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ long_description SQLCipher extends the SQLite database library to add \
an example of how to use the SQLite3 library.

homepage https://www.zetetic.net/sqlcipher/
github.setup sqlcipher sqlcipher 4.5.6 v
github.setup sqlcipher sqlcipher 4.6.0 v
github.tarball_from archive
checksums rmd160 9d4cfc742b498219776d5bdcd80f5e7e741ad2fe \
sha256 e4a527e38e67090c1d2dc41df28270d16c15f7ca5210a3e7ec4c4b8fda36e28f \
size 18937692
checksums rmd160 c8f74ff03499f1c6fc77d63692f0ef1badcb4d85 \
sha256 879fb030c36bc5138029af6aa3ae3f36c28c58e920af05ac7ca78a5915b2fa3c \
size 19017463

# https://github.com/sqlcipher/sqlcipher/pull/503
patchfiles 0001-sqliteInt.h-fix-pointer-size-for-ppc64.patch
Expand All @@ -46,6 +46,13 @@ configure.cppflags-prepend -DSQLITE_HAS_CODEC

build.type gnu

# Needed for both subports:
if {${os.major} <= 15} {
# https://github.com/sqlcipher/sqlcipher/issues/518
configure.cppflags-prepend \
-DSQLCIPHER_OMIT_LOG_DEVICE
}

if {${subport} eq ${name}} {
depends_lib-append port:libedit \
port:ncurses \
Expand Down

0 comments on commit 0cd1681

Please sign in to comment.