aboutsummaryrefslogtreecommitdiff
path: root/archivers/upx
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2007-08-24 05:01:09 +0000
committerMax Khon <fjoe@FreeBSD.org>2007-08-24 05:01:09 +0000
commit882ca735c580efdcc2b8c732f80b8b7ceb53219a (patch)
tree3cd6ce483b00a167980ca90733ea33e08c461423 /archivers/upx
parent4d9f7e706a68324b750cc239741bba2679c715c6 (diff)
downloadports-882ca735c580efdcc2b8c732f80b8b7ceb53219a.tar.gz
ports-882ca735c580efdcc2b8c732f80b8b7ceb53219a.zip
Fix build on IA64.
Notes
Notes: svn path=/head/; revision=198232
Diffstat (limited to 'archivers/upx')
-rw-r--r--archivers/upx/files/patch-src-miniacc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/upx/files/patch-src-miniacc.h b/archivers/upx/files/patch-src-miniacc.h
new file mode 100644
index 000000000000..f00bdfdeb37e
--- /dev/null
+++ b/archivers/upx/files/patch-src-miniacc.h
@@ -0,0 +1,11 @@
+--- src/miniacc.h.orig 2007-08-24 04:34:35.884000000 +0000
++++ src/miniacc.h 2007-08-24 04:35:22.215000000 +0000
+@@ -1302,7 +1302,7 @@
+ #elif !defined(ACC_ABI_BIG_ENDIAN) && !defined(ACC_ABI_LITTLE_ENDIAN)
+ #if (ACC_ARCH_ALPHA) && (ACC_ARCH_CRAY_MPP)
+ # define ACC_ABI_BIG_ENDIAN 1
+-#elif (ACC_ARCH_ALPHA || ACC_ARCH_AMD64 || ACC_ARCH_BLACKFIN || ACC_ARCH_CRIS || ACC_ARCH_I086 || ACC_ARCH_I386 || ACC_ARCH_MSP430)
++#elif (ACC_ARCH_ALPHA || ACC_ARCH_AMD64 || ACC_ARCH_BLACKFIN || ACC_ARCH_CRIS || ACC_ARCH_I086 || ACC_ARCH_I386 || ACC_ARCH_MSP430 || ACC_ARCH_IA64)
+ # define ACC_ABI_LITTLE_ENDIAN 1
+ #elif (ACC_ARCH_M68K || ACC_ARCH_S390)
+ # define ACC_ABI_BIG_ENDIAN 1