[packages/FileZilla] - added disable-avx-on-i686.patch
mrozowik
mrozowik at pld-linux.org
Thu Sep 22 15:48:27 CEST 2022
commit 094a2115a8f5165864270c66f95a97cf879db956
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date: Thu Sep 22 13:47:41 2022 +0000
- added disable-avx-on-i686.patch
FileZilla.spec | 4 +++-
disable-avx-on-i686.patch | 25 +++++++++++++++++++++++++
2 files changed, 28 insertions(+), 1 deletion(-)
---
diff --git a/FileZilla.spec b/FileZilla.spec
index bc11679..e72e4b9 100644
--- a/FileZilla.spec
+++ b/FileZilla.spec
@@ -10,12 +10,13 @@ Summary(ru.UTF-8): FTP клиент для X Window
Summary(uk.UTF-8): FTP клієнт для X Window
Name: FileZilla
Version: 3.61.0
-Release: 1
+Release: 2
License: GPL v2+
Group: X11/Applications/Networking
Source0: https://download.filezilla-project.org/client/%{name}_%{version}_src.tar.bz2
# Source0-md5: 0b005ce25f7e887a55a220387efbf305
Patch0: %{name}-desktop.patch
+Patch1: disable-avx-on-i686.patch
URL: https://filezilla-project.org/
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1.6
@@ -57,6 +58,7 @@ opcjami oraz intuicyjnym interfejsem.
%prep
%setup -q -n filezilla-%{version}
%patch0 -p1
+%patch1 -p1
cd locales
%{__mv} bg{_BG,}.po
diff --git a/disable-avx-on-i686.patch b/disable-avx-on-i686.patch
new file mode 100644
index 0000000..8139259
--- /dev/null
+++ b/disable-avx-on-i686.patch
@@ -0,0 +1,25 @@
+--- filezilla-3.60.1/src/putty/sshsh256.c
++++ filezilla-3.60.1/src/putty/sshsh256.c
+@@ -22,8 +22,7 @@
+ # define HW_SHA256 HW_SHA256_NI
+ # endif
+ #elif defined(__GNUC__)
+-# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9)) && \
+- (defined(__x86_64__) || defined(__i386))
++# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9)) && defined(__x86_64__)
+ # define HW_SHA256 HW_SHA256_NI
+ # endif
+ #elif defined (_MSC_VER)
+--- filezilla-3.60.1/src/putty/sshsha.c
++++ filezilla-3.60.1/src/putty/sshsha.c
+@@ -22,8 +22,7 @@
+ # define HW_SHA1 HW_SHA1_NI
+ # endif
+ #elif defined(__GNUC__)
+-# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9)) && \
+- (defined(__x86_64__) || defined(__i386))
++# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9)) && defined(__x86_64__)
+ # define HW_SHA1 HW_SHA1_NI
+ # endif
+ #elif defined (_MSC_VER)
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/FileZilla.git/commitdiff/094a2115a8f5165864270c66f95a97cf879db956
More information about the pld-cvs-commit
mailing list