Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/lib Include mesa-ver.mk so MESA_VER doesn'...



details:   https://anonhg.NetBSD.org/src/rev/c11e5916bf3f
branches:  trunk
changeset: 999769:c11e5916bf3f
user:      maya <maya%NetBSD.org@localhost>
date:      Tue Jun 18 11:28:30 2019 +0000

description:
Include mesa-ver.mk so MESA_VER doesn't get expanded into an empty string.

This changes the output of glGetString(GL_VERSION)
from: 3.1 Mesa
to: 3.1 Mesa 18.3.4

This means programs like firefox/libreoffice no longer blacklist our mesa
version as being too old.

Fixes WebGL on firefox with AMD CEDAR, reported by nia.

diffstat:

 external/mit/xorg/lib/libmesa.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r be565a48a6de -r c11e5916bf3f external/mit/xorg/lib/libmesa.mk
--- a/external/mit/xorg/lib/libmesa.mk  Tue Jun 18 10:46:51 2019 +0000
+++ b/external/mit/xorg/lib/libmesa.mk  Tue Jun 18 11:28:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: libmesa.mk,v 1.6 2019/04/03 15:26:34 joerg Exp $
+#      $NetBSD: libmesa.mk,v 1.7 2019/06/18 11:28:30 maya Exp $
 #
 # Consumer of this Makefile should set MESA_SRC_MODULES.
 
@@ -543,3 +543,5 @@
        -DYYTEXT_POINTER=1
 
 CFLAGS+=       -fvisibility=hidden -fno-strict-aliasing -fno-builtin-memcmp
+
+.include "libGL/mesa-ver.mk"



Home | Main Index | Thread Index | Old Index