[packages/beecrypt] do not try to use 32bit arm asm on 64bit arm

atler atler at pld-linux.org
Tue May 5 16:34:59 CEST 2020


commit 7c9c66de07c59dbf538f5dbbbe6b3677f96cfae5
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue May 5 13:13:19 2020 +0200

    do not try to use 32bit arm asm on 64bit arm

 beecrypt-armv8.patch | 11 +++++++++++
 beecrypt.spec        |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/beecrypt.spec b/beecrypt.spec
index 33db1cb..6aee578 100644
--- a/beecrypt.spec
+++ b/beecrypt.spec
@@ -19,6 +19,7 @@ Source0:	http://dl.sourceforge.net/project/beecrypt/beecrypt/%{version}/%{name}-
 # Source0-md5:	8441c014170823f2dff97e33df55af1e
 Patch0:		%{name}-ac.patch
 Patch1:		%{name}-ac_python.patch
+Patch2:		%{name}-armv8.patch
 URL:		http://sourceforge.net/projects/beecrypt/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -142,6 +143,7 @@ bibliotekę BeeCrytp.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 # --with-cplusplus or building (even empty) *.cxx into libbeecrypt
 # makes it (and thus rpm) depending on libstdc++ which is unacceptable
diff --git a/beecrypt-armv8.patch b/beecrypt-armv8.patch
new file mode 100644
index 0000000..9a6776b
--- /dev/null
+++ b/beecrypt-armv8.patch
@@ -0,0 +1,11 @@
+--- beecrypt-4.2.1/configure.ac.orig	2020-05-05 12:29:19.553508341 +0200
++++ beecrypt-4.2.1/configure.ac	2020-05-05 13:08:26.637640840 +0200
+@@ -557,6 +557,8 @@
+   alpha*)
+     CPPFLAGS="$CPPFLAGS -DOPTIMIZE_ALPHA"
+     ;;
++  armv8*)
++    ;;
+   arm*)
+     CPPFLAGS="$CPPFLAGS -DOPTIMIZE_ARM"
+     ;;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/beecrypt.git/commitdiff/7c9c66de07c59dbf538f5dbbbe6b3677f96cfae5



More information about the pld-cvs-commit mailing list