Mesa/dri_driver_dir.diff
OBS User autobuild 7f12d1b2ca Accepting request 35605 from X11:XOrg
Copy from X11:XOrg/Mesa based on submit request 35605 from user sndirsch

OBS-URL: https://build.opensuse.org/request/show/35605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=83
2010-03-25 23:19:38 +00:00

23 lines
659 B
Diff

--- src/egl/drivers/dri2/Makefile
+++ src/egl/drivers/dri2/Makefile
@@ -10,7 +10,7 @@
-I$(TOP)/include \
-I$(TOP)/src/egl/main \
-I$(TOP)/src/mesa \
- -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
+ -DDEFAULT_DRIVER_DIR=\"/usr/REPLACE/dri/updates:/usr/REPLACE/dri\" \
$(EGL_DRI2_CFLAGS)
EGL_LIBS = $(EGL_DRI2_LIBS)
--- src/glx/Makefile
+++ src/glx/Makefile
@@ -2,7 +2,7 @@
include $(TOP)/configs/current
EXTRA_DEFINES = -DXF86VIDMODE -D_REENTRANT \
- -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\"
+ -DDEFAULT_DRIVER_DIR=\"/usr/REPLACE/dri/updates:/usr/REPLACE/dri\"
SOURCES = \
glcontextmodes.c \