Source: openarena Version: 0.8.8-18 Severity: normal Tags: patch User: debian-68k@lists.debian.org Usertags: m68k
Hi! openarena currently fails to build from source on m68k because this architecture is not known within code/qcommon/q_platform.h: cc -DQAGAME -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -fsigned-char -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DUSE_ICON -DUSE_OPENAL -DUSE_CURL -DUSE_CODEC_VORBIS -DNO_VM_COMPILED -DUSE_MUMBLE -DUSE_VOIP -DSTANDALONE -DPRODUCT_DATE=\"Jun\ 18\ 2017\" -DPRODUCT_VERSION=\"0.8.8-18/Debian\" -DNDEBUG -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fPIC -o build/normal/baseq3/game/bg_misc.o -c code/game/bg_misc.c In file included from code/cgame/../qcommon/q_shared.h:159:0, from code/cgame/cg_local.h:23, from code/cgame/cg_main.c:24: code/cgame/../qcommon/q_platform.h:305:2: error: #error "Architecture not supported" #error "Architecture not supported" ^~~~~ In file included from code/game/../qcommon/q_shared.h:159:0, from code/game/bg_misc.c:26: code/game/../qcommon/q_platform.h:305:2: error: #error "Architecture not supported" #error "Architecture not supported" ^~~~~ Makefile:2049: recipe for target 'build/normal/baseq3/game/bg_misc.o' failed This is trivially fixed by the attached patch. Please consinder including it. I will also send a pull request upstream to get it fixed there as well. Thanks, Adrian .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Description: Add support for m68k Author: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> Last-Update: 2017-06-24 --- openarena-0.8.8.orig/code/qcommon/q_platform.h +++ openarena-0.8.8/code/qcommon/q_platform.h @@ -185,6 +185,8 @@ Foundation, Inc., 51 Franklin St, Fifth #define ARCH_STRING "mips" #elif defined __sh__ #define ARCH_STRING "sh" +#elif defined __m68k__ +#define ARCH_STRING "m68k" #endif #if __FLOAT_WORD_ORDER == __BIG_ENDIAN