diff options
author | arved <arved@FreeBSD.org> | 2007-03-18 05:32:05 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2007-03-18 05:32:05 +0800 |
commit | 19be0fffccc8c2d7b73ea0136ed69b8c837f98b9 (patch) | |
tree | 0f5bad0f93a5ad3ec18fb77b9d1322410a903c5e | |
parent | 8c00ce7793fc14ac4103f1a0c5c8d1b9d1eac875 (diff) | |
download | freebsd-ports-gnome-19be0fffccc8c2d7b73ea0136ed69b8c837f98b9.tar.gz freebsd-ports-gnome-19be0fffccc8c2d7b73ea0136ed69b8c837f98b9.tar.zst freebsd-ports-gnome-19be0fffccc8c2d7b73ea0136ed69b8c837f98b9.zip |
Fix build on amd64/ia64
-rw-r--r-- | graphics/s10sh/Makefile | 4 | ||||
-rw-r--r-- | graphics/s10sh/files/patch-bytesex.h | 12 |
2 files changed, 12 insertions, 4 deletions
diff --git a/graphics/s10sh/Makefile b/graphics/s10sh/Makefile index 4b47746e1297..3aed416d77d7 100644 --- a/graphics/s10sh/Makefile +++ b/graphics/s10sh/Makefile @@ -27,10 +27,6 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd .include <bsd.port.pre.mk> -.if ${ARCH} == "ia64" || ${ARCH} == "amd64" -BROKEN= "Does not compile on ia64 or amd64" -.endif - .if !defined(NOPORTDOCS) post-install: @${MKDIR} ${DOCSDIR} diff --git a/graphics/s10sh/files/patch-bytesex.h b/graphics/s10sh/files/patch-bytesex.h new file mode 100644 index 000000000000..2c1472da9dc3 --- /dev/null +++ b/graphics/s10sh/files/patch-bytesex.h @@ -0,0 +1,12 @@ +--- bytesex.h.orig Sat Mar 17 22:27:18 2007 ++++ bytesex.h Sat Mar 17 22:30:35 2007 +@@ -5,7 +5,8 @@ + + #if defined(__i386__) \ + || defined(__alpha__) \ +- || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__))) ++ || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__))) \ ++ || defined(__amd64__) || defined(__ia64__) + #define BYTE_ORDER_LITTLE_ENDIAN + #elif defined(__mc68000__) \ + || defined (__sparc__) \ |