scons: Require glproto >= 1.4.13 for X11.
authorVinson Lee <vlee@freedesktop.org>
Sat, 15 Nov 2014 22:07:42 +0000 (14:07 -0800)
committerVinson Lee <vlee@freedesktop.org>
Sun, 16 Nov 2014 21:26:26 +0000 (13:26 -0800)
GLXBadProfileARB and X_GLXCreateContextAtrribsARB require glproto >=
1.4.13. These symbols were added in commit
d5d41112cbccd9301500e8e023be77eb9cb622cd "st/xlib: Generate errors as
specified."

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Cc: "10.4" <mesa-stable@lists.freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
scons/gallium.py

index e3786d2318c1e7444cfe13a755c2c862a71c5f03..4df6e1ac27502b414f22d622ae4fc040f1ebfe5a 100755 (executable)
@@ -621,7 +621,7 @@ def generate(env):
     env.Tool('custom')
     createInstallMethods(env)
 
-    env.PkgCheckModules('X11', ['x11', 'xext', 'xdamage', 'xfixes'])
+    env.PkgCheckModules('X11', ['x11', 'xext', 'xdamage', 'xfixes', 'glproto >= 1.4.13'])
     env.PkgCheckModules('XCB', ['x11-xcb', 'xcb-glx >= 1.8.1', 'xcb-dri2 >= 1.8'])
     env.PkgCheckModules('XF86VIDMODE', ['xxf86vm'])
     env.PkgCheckModules('DRM', ['libdrm >= 2.4.38'])