diff options
author | alepulver <alepulver@FreeBSD.org> | 2007-04-23 06:42:09 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2007-04-23 06:42:09 +0800 |
commit | 68cbff92d748dcf1825b0e60282d62f84c6371d8 (patch) | |
tree | 9de8d2155b8e82e0f8a6f8d96414440baa5c0cd9 /games | |
parent | 822dc43ff17a7a1d971ac3fce5f13cb16a27c427 (diff) | |
download | freebsd-ports-graphics-68cbff92d748dcf1825b0e60282d62f84c6371d8.tar.gz freebsd-ports-graphics-68cbff92d748dcf1825b0e60282d62f84c6371d8.tar.zst freebsd-ports-graphics-68cbff92d748dcf1825b0e60282d62f84c6371d8.zip |
- Fix building on non i386 (because of a wrong #error directive).
Reported by: pointyhat
Diffstat (limited to 'games')
-rw-r--r-- | games/evq3/files/patch-engine__qcommon__q_platform.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/games/evq3/files/patch-engine__qcommon__q_platform.h b/games/evq3/files/patch-engine__qcommon__q_platform.h new file mode 100644 index 00000000000..a20cb022c20 --- /dev/null +++ b/games/evq3/files/patch-engine__qcommon__q_platform.h @@ -0,0 +1,18 @@ +--- ./engine/qcommon/q_platform.h.orig Sat Dec 16 17:45:12 2006 ++++ ./engine/qcommon/q_platform.h Sun Apr 22 17:08:47 2007 +@@ -178,8 +178,14 @@ + + #ifdef __i386__ + #define ARCH_STRING "i386" +-#elif defined __axp__ ++#elif defined __alpha__ + #define ARCH_STRING "alpha" ++#elif defined __amd64__ ++#define ARCH_STRING "amd64" ++#elif defined __sparc64__ ++#define ARCH_STRING "sparc64" ++#else ++#define ARCH_STRING "unknown" + #endif + + #if BYTE_ORDER == BIG_ENDIAN |