1 # Remove this patch once Mesa is updated to the latest release
2 --- a/glx/glxdricommon.c Fri Dec 13 16:15:57 2013
3 +++ b/glx/glxdricommon.c Fri Dec 13 16:22:22 2013
6 static const char dri_driver_path[] = DRI_DRIVER_PATH;
9 /* Temporary define to allow building without a dri_interface.h from
10 * updated Mesa. Some day when we don't care about Mesa that old any
11 * more this can be removed.
13 #ifndef __DRI_DRIVER_GET_EXTENSIONS
14 #define __DRI_DRIVER_GET_EXTENSIONS "__driDriverGetExtensions"
19 glxProbeDriver(const char *driverName,
25 if (asprintf(&get_extensions_name, "%s_%s",
26 __DRI_DRIVER_GET_EXTENSIONS, driverName) != -1) {
27 const __DRIextension **(*get_extensions)(void);
32 - extensions = dlsym(driver, __DRI_DRIVER_EXTENSIONS);
34 + extensions = dlsym(driver, __DRI_DRIVER_EXTENSIONS);
35 if (extensions == NULL) {
36 LogMessage(X_ERROR, "AIGLX error: %s exports no extensions (%s)\n",
37 driverName, dlerror());