[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri which breaks in ia32-libs



I've been using this for lenny:

diff -Nru mesa-7.0.3.orig/configs/debian-dri-default mesa-7.0.3/configs/debian-d
ri-default
--- mesa-7.0.3.orig/configs/debian-dri-default  2010-07-08 20:32:49.000000000 +0200
+++ mesa-7.0.3/configs/debian-dri-default       2010-07-08 20:33:17.000000000 +0200
@@ -15,8 +15,9 @@
 
 LIB_DIR = lib/glx
 
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri
-DRI_DRIVER_SEARCH_DIR = /usr/lib/dri
+DRI_DRIVER_SEARCH_DIR = /usr/lib/$(DEB_HOST_GNU_TYPE)/dri:/usr/lib/dri
 
 DRI_DIRS = mach64 mga r128 r200 r300 radeon s3v savage tdfx trident
 
<EOF>

You may want to use /usr/lib$(BITS)/dri:/usr/lib/dri instead.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: