From 1a851e4a234a7bd102264d6671380eff42806bad5265998a359ae51499ba229e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 11 Mar 2013 16:01:35 +0000 Subject: [PATCH] - aarch64-support.patch: add support for aarch64 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Botan?expand=0&rev=37 --- Botan.changes | 5 +++++ Botan.spec | 4 +++- aarch64-support.patch | 11 +++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 aarch64-support.patch diff --git a/Botan.changes b/Botan.changes index 17b8c65..fa52c7c 100644 --- a/Botan.changes +++ b/Botan.changes @@ -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 diff --git a/Botan.spec b/Botan.spec index 7b69aba..2c4803b 100644 --- a/Botan.spec +++ b/Botan.spec @@ -1,7 +1,7 @@ # # 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 # 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 Patch6: Botan-fix_pkgconfig.patch Patch7: dont-set-mach-value.diff +Patch8: aarch64-support.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: bzip2 >= 1.0.2 Requires: gmp >= 4.1 @@ -88,6 +89,7 @@ programs that use the Botan library. %patch4 %patch6 %patch7 +%patch8 %build export RPM_OPT_FLAGS diff --git a/aarch64-support.patch b/aarch64-support.patch new file mode 100644 index 0000000..3096dbb --- /dev/null +++ b/aarch64-support.patch @@ -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 ++ ++ ++arm64 ++armv8 ++