1379N/A# Remove this patch once Mesa is updated to the latest release
1379N/A static const char dri_driver_path[] = DRI_DRIVER_PATH;
1379N/A * updated Mesa. Some day when we don't care about Mesa that old any
1379N/A * more this can be removed.
1379N/A #ifndef __DRI_DRIVER_GET_EXTENSIONS
1379N/A #define __DRI_DRIVER_GET_EXTENSIONS "__driDriverGetExtensions"
1379N/A glxProbeDriver(const char *driverName,
1379N/A if (asprintf(&get_extensions_name, "%s_%s",
1379N/A __DRI_DRIVER_GET_EXTENSIONS, driverName) != -1) {
1379N/A const __DRIextension **(*get_extensions)(void);
1379N/A- extensions = dlsym(driver, __DRI_DRIVER_EXTENSIONS);
1379N/A+ extensions = dlsym(driver, __DRI_DRIVER_EXTENSIONS);
1379N/A LogMessage(X_ERROR, "AIGLX error: %s exports no extensions (%s)\n",