summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2002-12-04 03:42:34 +0000
committeranholt <anholt@FreeBSD.org>2002-12-04 03:42:34 +0000
commit9a3bbe40fcbcd6e4511f1f07286157770734ff8a (patch)
treeb68f2ff7b35f093fba729d0861c25e4b2364bd46
parent2f56cd69d145db26099996994428b9e457ee7e98 (diff)
downloadFreeBSD-ports-9a3bbe40fcbcd6e4511f1f07286157770734ff8a.zip
FreeBSD-ports-9a3bbe40fcbcd6e4511f1f07286157770734ff8a.tar.gz
Make XFree86-4-libraries build on ia64
Submitted by: marcel Approved by: portmgr
-rw-r--r--x11/XFree86-4-libraries/files/patch-XlcDL.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-XlcDL.c b/x11/XFree86-4-libraries/files/patch-XlcDL.c
new file mode 100644
index 0000000..5b1d428
--- /dev/null
+++ b/x11/XFree86-4-libraries/files/patch-XlcDL.c
@@ -0,0 +1,15 @@
+--- lib/X11/XlcDL.c.orig Sun Dec 1 23:17:32 2002
++++ lib/X11/XlcDL.c Sun Dec 1 23:17:11 2002
+@@ -60,7 +60,12 @@
+ #define _MACH64_NAME "sparcv9"
+ #define _MACH64_NAME_LEN (sizeof (_MACH64_NAME) - 1)
+ #else /* !defined(__sparcv9) */
++#if defined(__ia64__)
++#define _MACH64_NAME "ia64"
++#define _MACH64_NAME_LEN (sizeof (_MACH64_NAME) - 1)
++#else /* !defined(__ia64__) */
+ #error "Unknown architecture"
++#endif /* defined(__ia64__) */
+ #endif /* defined(__sparcv9) */
+ #endif /* _LP64 */
+
OpenPOWER on IntegriCloud