From 4d1b2719ca1329c09446f36f854512f9e6e4aef2 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Wed, 22 Jan 2014 16:54:41 +0100 Subject: [PATCH] add support for aarch64 --- add-aarch64.patch | 13 +++++++++++++ liborcus.spec | 9 ++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 add-aarch64.patch diff --git a/add-aarch64.patch b/add-aarch64.patch new file mode 100644 index 0000000..bbb1090 --- /dev/null +++ b/add-aarch64.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index 65e7d48..c85e89d 100755 +--- a/configure ++++ b/configure +@@ -15335,7 +15335,7 @@ $as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; } + + libsubdirs="lib" + ax_arch=`uname -m` +- if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then ++ if test $ax_arch = x86_64 -o $ax_arch = aarch64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then + libsubdirs="lib64 lib lib64" + fi + diff --git a/liborcus.spec b/liborcus.spec index 7d5947c..89b6c71 100644 --- a/liborcus.spec +++ b/liborcus.spec @@ -2,7 +2,7 @@ Name: liborcus Version: 0.5.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Standalone file import filter library for spreadsheet documents Group: System Environment/Libraries @@ -13,6 +13,8 @@ Source: http://kohei.us/files/orcus/src/%{name}-%{version}.tar.bz2 BuildRequires: boost-devel BuildRequires: zlib-devel +Patch0: add-aarch64.patch + %description %{name} is a standalone file import filter library for spreadsheet documents. Currently under development are ODS, XLSX and CSV import @@ -37,6 +39,8 @@ Tools for working with %{name}. %prep %setup -q +%patch0 -p1 + # fix build of orcus-zip-dump sed -i -e 's/orcus_zip_dump_LDADD = /& $(BOOST_SYSTEM_LIB) /' \ src/Makefile.in @@ -88,6 +92,9 @@ make check %{?_smp_mflags} %{_bindir}/orcus-zip-dump %changelog +* Wed Jan 22 2014 David Tardon - 0.5.1-6 +- add support for aarch64 + * Sat Aug 03 2013 Fedora Release Engineering - 0.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild