lurch: use 12-byte IVs

https://github.com/gkdr/lurch/issues/142

Closes #26757.
This commit is contained in:
Leah Neukirchen 2020-11-28 12:46:52 +01:00
parent c824bdaeb3
commit 15f74c2f7a

View file

@ -1,7 +1,7 @@
# Template file for 'lurch'
pkgname=lurch
version=0.6.8
revision=2
revision=3
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="cmake pkg-config"
@ -14,3 +14,7 @@ distfiles="https://github.com/gkdr/lurch/releases/download/v${version}/lurch-${v
checksum=2e2447b5fe6b1ae4f08d8c79a2a846c70290685d6e338bf5ea8f59705bd2b19f
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib/purple-2"
post_patch() {
vsed -e '/#define OMEMO_AES_GCM_IV_LENGTH/s/16/12/' -i lib/libomemo/src/libomemo.h
}