[PATCH 1/1] UBUNTU: temporarily suppress drm headers in linux-libc-dev for libdrm-dev

Andy Whitcroft apw at canonical.com
Tue Dec 16 15:23:51 UTC 2008


Bug: #308387

When we included all of the exported header files in our linux-libc-dev
package (as is done in Debian upstream) we caused a collision with copies
of these headers in libdrm-dev.  The ones in libdrm-dev are currently
hand modified to simplify their use, so it is not trivial to just drop
them from there.  With the -alpha2 builds coming up very soon it seems
expedient to remove the drm headers from linux-libc-dev.  We should
expect the X11 people to look at and sort out their header after the
-alpha2 transition and we can then revert this change in step with that.

Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
 debian/rules.d/2-binary-arch.mk |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 800c9b0..45ab6c9 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -182,8 +182,12 @@ install-arch-headers:
 	$(hmake) silentoldconfig
 	$(hmake) headers_install
 
+	# Temporarily exclude drm headers to prevent clash with libdrm-dev
+	# see bug #303387.
 	( cd $(headers_tmp)/install/include/ && \
-		find . -name '.' -o -name '.*' -prune -o -print | \
+		find . -name '.' -o -name '.*' -prune \
+			-o -name drm -prune \
+			-o -print | \
                 cpio -pvd --preserve-modification-time \
 			$(headers_dir)/usr/include/ )
 
-- 
1.6.0.4.911.gc990





More information about the kernel-team mailing list