summaryrefslogtreecommitdiff
path: root/community/virtualbox/change_default_driver_dir.patch
blob: 71930f06271e10a04996da48b9bf985cccbaf2c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -Nur VirtualBox-4.0.8_OSE.orig//src/VBox/Additions/common/crOpenGL/fakedri_drv.c VirtualBox-4.0.8_OSE/src/VBox/Additions/common/crOpenGL/fakedri_drv.c
--- VirtualBox-4.0.8_OSE.orig//src/VBox/Additions/common/crOpenGL/fakedri_drv.c	2011-05-18 04:28:14.545495222 -0700
+++ VirtualBox-4.0.8_OSE/src/VBox/Additions/common/crOpenGL/fakedri_drv.c	2011-05-18 04:29:57.945499707 -0700
@@ -36,13 +36,8 @@
 //#define DEBUG_DRI_CALLS
 
 //@todo this could be different...
-#ifdef RT_ARCH_AMD64
-# define DRI_DEFAULT_DRIVER_DIR "/usr/lib64/dri:/usr/lib/dri"
+# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/xorg/modules/dri"
 # define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
-#else
-# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/dri"
-# define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
-#endif
 
 #ifdef DEBUG_DRI_CALLS
  #define SWDRI_SHOWNAME(pext, func) \