On Fri, Sep 15, 2006 at 03:11:28AM -0700, Steve Langasek wrote: > I will also be fixing this bug and bug #386185 in the process.
Please also apply the last patch in #358065 (FTBFS on hurd-i386 because of dri/drm), unless Michel or Marcelo veto this. I have attached the patch again for review. thanks, Michael
--- mesa-build.orig/mesa-6.4.2/configs/debian-directfb 1970-01-01 12:44:32.000000000 +0000 +++ mesa-build/mesa-6.4.2/configs/debian-directfb 2006-08-30 21:32:40.000000000 +0000 @@ -5,3 +5,10 @@ GL_LIB_DEPS = -lm -lpthread DRIVER_DIRS = directfb + +ifeq ($(DEB_HOST_ARCH),hurd-i386) +gnudefault: + @echo "No directfb on hurd, disabling the build by default target diversion" + @echo "Creating an empty and invalid shared object so that the build runs OK" + touch mesa/drivers/directfb/libidirectfbgl_mesa.so +endif --- mesa-build.orig/mesa-6.4.2/configs/debian-dri 1970-01-01 12:44:32.000000000 +0000 +++ mesa-build/mesa-6.4.2/configs/debian-dri 2006-08-30 21:37:24.000000000 +0000 @@ -2,6 +2,11 @@ CONFIG_NAME = debian-dri +ifeq ($(DEB_HOST_ARCH_OS),hurd) +# Switch to debian-indirect target +include $(TOP)/configs/debian-indirect +else + DEBIAN_COMMON_CPPFLAGS += -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR=\"$(DEBIAN_DRIVERS_DIR)\" LIBDRM_LIB = `pkg-config --libs libdrm` @@ -31,3 +36,5 @@ ifeq ($(DEB_HOST_ARCH),amd64) DRI_DIRS += i915 endif + +endif # DRI or debian-indirect --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ mesa-build/mesa-6.4.2/configs/debian-indirect 2006-08-30 21:34:30.000000000 +0000 @@ -0,0 +1,6 @@ +DEBIAN_COMMON_CPPFLAGS += -DPTHREADS -DHAVE_ALIAS + +DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl +GL_LIB_DEPS = `pkg-config --libs x11 xext xxf86vm` -lm -lpthread -ldl + +SRC_DIRS = glx/x11 glu glut/glx glw --- mesa-build.orig/mesa-6.4.2/debian/control 1970-01-01 12:44:32.000000000 +0000 +++ mesa-build/mesa-6.4.2/debian/control 2006-08-30 21:30:41.000000000 +0000 @@ -4,7 +4,7 @@ Maintainer: Mesa package maintainers <[EMAIL PROTECTED]> Uploaders: Marcelo E. Magallon <[EMAIL PROTECTED]> Standards-Version: 3.7.2 -Build-Depends: lesstif2-dev, grep-dctrl, debhelper (>> 4), build-essential (>= 11), libdrm-dev (>> 2) [!hurd-i386], libdirectfb-dev, xutils, libexpat-dev, libxxf86vm-dev, libx11-dev, libxext-dev, pkg-config, x11proto-gl-dev +Build-Depends: lesstif2-dev, grep-dctrl, debhelper (>> 4), build-essential (>= 11), libdrm-dev (>> 2) [!hurd-i386], libdirectfb-dev [!hurd-i386], xutils, libexpat-dev, libxxf86vm-dev, libx11-dev, libxext-dev, pkg-config, x11proto-gl-dev Package: libgl1-mesa-swx11 Section: libs