From 5cbb634a2c48ab1a8a73bb2de6fa3731af7de249 Mon Sep 17 00:00:00 2001 From: qorg11 Date: Mon, 16 Nov 2020 17:52:29 +0100 Subject: [PATCH] Fixed i2pd for older processors Some processors have not the AES instructions set (https://en.wikipedia.org/wiki/AES_instruction_set) and if you try to run i2pd in a processor without that, it will simply give "Illegal instruction" This can be fixed by removing the `USE_AESNI=1` make flag. (https://i2pd.readthedocs.io/en/latest/devs/building/windows/#aes-ni) --- srcpkgs/i2pd/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/i2pd/template b/srcpkgs/i2pd/template index 6a93f6f94c5..3128848b14e 100644 --- a/srcpkgs/i2pd/template +++ b/srcpkgs/i2pd/template @@ -1,7 +1,7 @@ # Template file for 'i2pd' pkgname=i2pd version=2.33.0 -revision=1 +revision=2 build_style=gnu-makefile make_build_args="USE_UPNP=yes" makedepends="zlib-devel boost-devel libressl-devel miniupnpc-devel @@ -24,7 +24,7 @@ make_dirs="/var/lib/i2pd 0700 _i2pd _i2pd" case "${XBPS_TARGET_MACHINE}" in x86_64*|i686*) ;; - *) make_build_args+=" USE_AESNI=no USE_AVX=no" ;; + *) make_build_args+=" USE_AVX=no" ;; esac pre_install() {