Skip to content

Commit

Permalink
OpenSSL 3.0.Y compatibility fix.
Browse files Browse the repository at this point in the history
OpenSSL 3.0.Y does not define OPENSSL_API_COMPAT so git-crypt uses the 1.0 interface include functions that have been removed.
Fix by defining OPENSSL_API_COMPAT=0x30000000L which allows the build to complete without hiding deprecation warnings.
AGWA/git-crypt#232
  • Loading branch information
loqs committed Feb 24, 2022
1 parent f86c095 commit 5d79995
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ validpgpkeys=('EF5D84C1838F2EB6D8968C0410378EFC2080080C') # Andrew Ayer <agwa@an
build() {
cd "${pkgname}-${pkgver}"

CXXFLAGS+=' -DOPENSSL_API_COMPAT=0x30000000L'
make ENABLE_MAN=yes PREFIX=/usr
}

Expand Down

0 comments on commit 5d79995

Please # to comment.