diff --git a/quake3-aarch64.patch b/quake3-aarch64.patch new file mode 100644 index 0000000..05845e6 --- /dev/null +++ b/quake3-aarch64.patch @@ -0,0 +1,13 @@ +diff --git a/code/qcommon/q_platform.h b/code/qcommon/q_platform.h +index fbc621b..3cc495a 100644 +--- a/code/qcommon/q_platform.h ++++ b/code/qcommon/q_platform.h +@@ -204,6 +204,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + #define ARCH_STRING "mips" + #elif defined __sh__ + #define ARCH_STRING "sh" ++#elif defined __aarch64__ ++#define ARCH_STRING "sh" + #endif + + #if __FLOAT_WORD_ORDER == __BIG_ENDIAN diff --git a/quake3.spec b/quake3.spec index 61aae27..97329f3 100644 --- a/quake3.spec +++ b/quake3.spec @@ -1,6 +1,6 @@ Name: quake3 Version: 1.36 -Release: 22.svn2102%{?dist} +Release: 23.svn2102%{?dist} Summary: Quake 3 Arena engine (ioquake3 version) Group: Amusements/Games License: GPLv2+ @@ -38,6 +38,7 @@ Patch3: 0012-Increase-the-command-buffer-from-16K-to-128K-followi.patch # big-endian build fix Patch4: quake3-1.36-build.patch Patch5: quake3-fastcall.patch +Patch6: quake3-aarch64.patch BuildRequires: SDL-devel libXt-devel openal-soft-devel libjpeg-devel BuildRequires: speex-devel speexdsp-devel libvorbis-devel curl-devel desktop-file-utils BuildRequires: zlib-devel @@ -143,6 +144,7 @@ Padman menu entry, which will automatically download the necessary datafiles %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 # Add jpeg_memsrc cp -p %{SOURCE15} %{SOURCE16} ./code/renderer/ @@ -275,6 +277,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Mon Mar 02 2015 Marcin Juszkiewicz - 1.36-23.svn2102 +- Add AArch64 support + * Thu Feb 26 2015 Jon Ciesla - 1.36.22.svn2102 - Update speex BR.