python3-etebase: fix build on aarch64*

This commit is contained in:
classabbyamp 2022-11-06 02:54:13 -05:00
parent dd3032d37b
commit 4be5bd1698
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python3-etebase'
pkgname=python3-etebase
version=0.31.5
revision=2
revision=3
wrksrc="etebase-py-${version}"
build_style=python3-module
build_helper="rust"
@ -25,6 +25,9 @@ fi
pre_build() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg:1.0.0 --precise 1.1.0
# fixes error on aarch64 due to memory layout issues
# https://github.com/rust-lang/socket2/commit/d2c15de84991947b6577bea92763efe0a2eecf28
cargo update --package socket2:0.3.12 --precise 0.3.19
}
post_install() {