aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2002-12-04 11:42:34 +0800
committeranholt <anholt@FreeBSD.org>2002-12-04 11:42:34 +0800
commit9a3bbe40fcbcd6e4511f1f07286157770734ff8a (patch)
treeb68f2ff7b35f093fba729d0861c25e4b2364bd46 /x11
parent2f56cd69d145db26099996994428b9e457ee7e98 (diff)
downloadfreebsd-ports-gnome-9a3bbe40fcbcd6e4511f1f07286157770734ff8a.tar.gz
freebsd-ports-gnome-9a3bbe40fcbcd6e4511f1f07286157770734ff8a.tar.zst
freebsd-ports-gnome-9a3bbe40fcbcd6e4511f1f07286157770734ff8a.zip
Make XFree86-4-libraries build on ia64
Submitted by: marcel Approved by: portmgr
Diffstat (limited to 'x11')
-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 000000000000..5b1d42898ac5
--- /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 */
+