summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2014-11-12 17:02:15 +0000
committerPeter Robinson <pbrobinson@gmail.com>2014-11-12 17:02:15 +0000
commit65c80da1a36c4200bf18375fbc6110cee6f39aa7 (patch)
treed65bc530ed8fec605e8adb42225bb4924d34a0d9
parenta90aced9f95d75e181818675e6bd1c2b3e8ea06a (diff)
downloadejabberd-65c80da1a36c4200bf18375fbc6110cee6f39aa7.tar.gz
ejabberd-65c80da1a36c4200bf18375fbc6110cee6f39aa7.tar.xz
ejabberd-65c80da1a36c4200bf18375fbc6110cee6f39aa7.zip
add aarch64 support
-rw-r--r--ejabberd-0011-aarch64.patch13
-rw-r--r--ejabberd.spec8
2 files changed, 20 insertions, 1 deletions
diff --git a/ejabberd-0011-aarch64.patch b/ejabberd-0011-aarch64.patch
new file mode 100644
index 0000000..070d86d
--- /dev/null
+++ b/ejabberd-0011-aarch64.patch
@@ -0,0 +1,13 @@
+diff --git a/c_src/double-conversion/utils.h b/c_src/double-conversion/utils.h
+index 9ebb9ee..8aebce0 100644
+--- a/deps/jiffy/c_src/double-conversion/utils.h
++++ b/deps/jiffy/c_src/double-conversion/utils.h
+@@ -57,7 +57,7 @@
+ defined(__hppa__) || defined(__ia64__) || \
+ defined(__mips__) || defined(__powerpc__) || \
+ defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
+- defined(__SH4__) || defined(__alpha__) || \
++ defined(__SH4__) || defined(__alpha__) || defined(__aarch64__) || \
+ defined(_MIPS_ARCH_MIPS32R2)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+ #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
diff --git a/ejabberd.spec b/ejabberd.spec
index cae4c86..7229d87 100644
--- a/ejabberd.spec
+++ b/ejabberd.spec
@@ -23,7 +23,7 @@
Name: ejabberd
Version: 14.07
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A distributed, fault-tolerant Jabber/XMPP server
Group: Applications/Internet
@@ -70,6 +70,8 @@ Patch9: ejabberd-0009-Fix-permissions-for-captcha-script.patch
# Fedora-specific
Patch10:ejabberd-0010-Enable-systemd-notification-if-available.patch
+Patch11: ejabberd-0011-aarch64.patch
+
BuildRequires: expat-devel
BuildRequires: openssl-devel >= 0.9.8
BuildRequires: pam-devel
@@ -143,6 +145,7 @@ Documentation for ejabberd.
#%patch10 -p1 -b .systemd_notify
tar xvf %{S:14}
+%patch11 -p1
%build
@@ -321,6 +324,9 @@ fi)
%changelog
+* Wed Nov 12 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 14.07-4
+- add aarch64 support
+
* Tue Nov 04 2014 Peter Lemenkov <lemenkov@gmail.com> - 14.07-3
- Rebuild with Erlang 17.3.3