Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/server/xorg-server enable __GLX_ALIGN64 on...



details:   https://anonhg.NetBSD.org/src/rev/de64751663d7
branches:  trunk
changeset: 334820:de64751663d7
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Dec 08 06:33:26 2014 +0000

description:
enable __GLX_ALIGN64 on sparc*.  probably more need it.

fixes crashes seen when using newer Mesa libGL.so.

diffstat:

 external/mit/xorg/server/xorg-server/Makefile.serverlib |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 03aa2b79ee66 -r de64751663d7 external/mit/xorg/server/xorg-server/Makefile.serverlib
--- a/external/mit/xorg/server/xorg-server/Makefile.serverlib   Mon Dec 08 04:55:47 2014 +0000
+++ b/external/mit/xorg/server/xorg-server/Makefile.serverlib   Mon Dec 08 06:33:26 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.serverlib,v 1.4 2008/08/24 13:43:57 rtr Exp $
+#      $NetBSD: Makefile.serverlib,v 1.5 2014/12/08 06:33:26 mrg Exp $
 
 NOLINT=         1
 NOPROFILE=      1
@@ -17,3 +17,6 @@
 CPPFLAGS+=     ${X11FLAGS.SERVER}
 CPPFLAGS+=     -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
 
+.if (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64")
+CPPFLAGS+=     -D__GLX_ALIGN64
+.endif



Home | Main Index | Thread Index | Old Index