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/a5fd25b0f80d
branches:  trunk
changeset: 804962:a5fd25b0f80d
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 a8369dbcee74 -r a5fd25b0f80d 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