Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Fixed i2pd for older processors
@ 2020-11-16 16:53 qorg11
  2020-11-16 17:17 ` ericonr
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: qorg11 @ 2020-11-16 16:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

There is a new pull request by qorg11 against master on the void-packages repository

https://github.com/qorg11/void-packages fix-i2pd
https://github.com/void-linux/void-packages/pull/26436

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)

A patch file from https://github.com/void-linux/void-packages/pull/26436.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix-i2pd-26436.patch --]
[-- Type: text/x-diff, Size: 1218 bytes --]

From 5cbb634a2c48ab1a8a73bb2de6fa3731af7de249 Mon Sep 17 00:00:00 2001
From: qorg11 <qorg@vxempire.xyz>
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() {

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-04-18  4:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 16:53 [PR PATCH] Fixed i2pd for older processors qorg11
2020-11-16 17:17 ` ericonr
2020-11-16 18:23 ` qorg11
2020-11-16 18:24 ` [PR PATCH] [Updated] " qorg11
2020-11-16 18:30 ` [PR REVIEW] " ericonr
2020-11-16 18:51 ` qorg11
2020-11-16 20:02 ` ericonr
2020-11-17 23:52 ` [PR REVIEW] " sgn
2020-11-17 23:53 ` sgn
2020-11-17 23:53 ` sgn
2020-11-18  0:13 ` ericonr
2021-01-07  0:20 ` sgn
2021-01-07  0:21 ` sgn
2021-01-07  0:46 ` [PR PATCH] [Closed]: " qorg11
2021-01-07  0:47 ` [PR REVIEW] " qorg11
2021-04-18  4:40 ` ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).