1
0
forked from pool/Botan

Accepting request 158550 from devel:libraries:c_c++

- aarch64-support.patch: add support for aarch64

OBS-URL: https://build.opensuse.org/request/show/158550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Botan?expand=0&rev=27
This commit is contained in:
Stephan Kulow 2013-03-12 10:06:36 +00:00 committed by Git OBS Bridge
commit 4f790a26f7
3 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Mar 10 21:35:25 UTC 2013 - schwab@suse.de
- aarch64-support.patch: add support for aarch64
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 14 20:08:15 UTC 2012 - p.drouand@gmail.com Fri Sep 14 20:08:15 UTC 2012 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package Botan # spec file for package Botan
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -34,6 +34,7 @@ Patch2: Botan-fix_install_paths.patch
Patch4: Botan-no-buildtime.patch Patch4: Botan-no-buildtime.patch
Patch6: Botan-fix_pkgconfig.patch Patch6: Botan-fix_pkgconfig.patch
Patch7: dont-set-mach-value.diff Patch7: dont-set-mach-value.diff
Patch8: aarch64-support.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: bzip2 >= 1.0.2 Requires: bzip2 >= 1.0.2
Requires: gmp >= 4.1 Requires: gmp >= 4.1
@ -88,6 +89,7 @@ programs that use the Botan library.
%patch4 %patch4
%patch6 %patch6
%patch7 %patch7
%patch8
%build %build
export RPM_OPT_FLAGS export RPM_OPT_FLAGS

11
aarch64-support.patch Normal file
View File

@ -0,0 +1,11 @@
Index: src/build-data/arch/aarch64.txt
===================================================================
--- /dev/null
+++ src/build-data/arch/aarch64.txt
@@ -0,0 +1,6 @@
+endian little
+
+<aliases>
+arm64
+armv8
+</aliases>