From: Jan Palus Date: Tue, 5 May 2020 11:13:19 +0000 (+0200) Subject: do not try to use 32bit arm asm on 64bit arm X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbeecrypt.git;a=commitdiff_plain do not try to use 32bit arm asm on 64bit arm --- 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" + ;; 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