From f2af09fcce8470bccaaac4390cd91f8458703881 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sat, 17 Mar 2007 21:32:05 +0000 Subject: Fix build on amd64/ia64 --- graphics/s10sh/Makefile | 4 ---- graphics/s10sh/files/patch-bytesex.h | 12 ++++++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 graphics/s10sh/files/patch-bytesex.h (limited to 'graphics') 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 -.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__) \ -- cgit v1.2.3