From 488c7c057884604f0609f9f37359922a8849f2d7 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 20 Mar 2017 12:41:11 +0100 Subject: [PATCH] hatari: add aarch64 support --- srcpkgs/hatari/patches/aarch64.patch | 11 +++++++++++ srcpkgs/hatari/template | 4 ---- 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/hatari/patches/aarch64.patch diff --git a/srcpkgs/hatari/patches/aarch64.patch b/srcpkgs/hatari/patches/aarch64.patch new file mode 100644 index 00000000000..765c1b3a179 --- /dev/null +++ b/srcpkgs/hatari/patches/aarch64.patch @@ -0,0 +1,11 @@ +--- src/cpu/sysdeps.h.orig 2016-11-03 22:25:43.000000000 +0100 ++++ src/cpu/sysdeps.h 2017-03-20 09:43:25.919910461 +0100 +@@ -52,7 +52,7 @@ + #define CPU_64_BIT 1 + #elif defined(__i386__) || defined(_M_IX86) + #define CPU_i386 1 +-#elif defined(__arm__) || defined(_M_ARM) ++#elif defined(__arm__) || defined(_M_ARM) || defined(__aarch64__) + #define CPU_arm 1 + #elif defined(__powerpc__) || defined(_M_PPC) || defined(__ppc__) || defined(__ppc64__) + #define CPU_powerpc 1 diff --git a/srcpkgs/hatari/template b/srcpkgs/hatari/template index ae78a766fc3..fe363e98782 100644 --- a/srcpkgs/hatari/template +++ b/srcpkgs/hatari/template @@ -11,7 +11,3 @@ license="GPL-2" homepage="http://hatari.tuxfamily.org/" distfiles="http://download.tuxfamily.org/${pkgname}/${version}/${pkgname}-${version}.tar.bz2" checksum=52a447a59b6979d55d1525f3c4a21ec013e4371354d6683ede71546c5e6da577 - -case "$XBPS_TARGET_MACHINE" in - aarch64*) broken="https://s3.amazonaws.com/archive.travis-ci.org/jobs/206754564/log.txt";; -esac