aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorlesi <lesi@FreeBSD.org>2005-08-27 02:45:45 +0800
committerlesi <lesi@FreeBSD.org>2005-08-27 02:45:45 +0800
commit7889d86a66ca60df5aa2024e3765145bdf41f3f2 (patch)
tree55229748f420525ebe30a55dab8522bc615d9156 /x11
parent715ec8c49f6e93c011a93530067d0651fea02076 (diff)
downloadfreebsd-ports-gnome-7889d86a66ca60df5aa2024e3765145bdf41f3f2.tar.gz
freebsd-ports-gnome-7889d86a66ca60df5aa2024e3765145bdf41f3f2.tar.zst
freebsd-ports-gnome-7889d86a66ca60df5aa2024e3765145bdf41f3f2.zip
Fix locale support on sparc64 by fixing path to search for libraries.
PR: ports/83316 Approved by: portmgr (marcus)
Diffstat (limited to 'x11')
-rw-r--r--x11/xorg-libraries/files/patch-XlcDL.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/xorg-libraries/files/patch-XlcDL.c b/x11/xorg-libraries/files/patch-XlcDL.c
new file mode 100644
index 000000000000..e58113dd791d
--- /dev/null
+++ b/x11/xorg-libraries/files/patch-XlcDL.c
@@ -0,0 +1,16 @@
+--- lib/X11/XlcDL.c.orig Mon Aug 15 21:55:16 2005
++++ lib/X11/XlcDL.c Mon Aug 15 21:56:02 2005
+@@ -56,11 +56,13 @@
+ #include "XlcPublic.h"
+ #include "XlcPubI.h"
+
++#if !defined(__FreeBSD__)
+ #if defined(_LP64) && defined(__sparcv9)
+ # define _MACH64_NAME "sparcv9"
+ #else
+ # undef _MACH64_NAME
+ #endif /* defined(_LP64) && defined(__sparcv9) */
++#endif
+
+ #ifdef _MACH64_NAME
+ # define _MACH64_NAME_LEN (sizeof (_MACH64_NAME) - 1)