<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hi Andy:<br>
<br>
Perhaps it's better to ask the libdrm-dev maintainer to divert the
headers if they install that package until things are resolved?  That
would prevent churn in the kernel package for this change and then
reverting this change later.<br>
<br>
Regards<br>
</font></font><br>
Andy Whitcroft wrote:
<blockquote
 cite="mid:1229441031-17014-2-git-send-email-apw@canonical.com"
 type="cite">
  <pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:apw@canonical.com"><apw@canonical.com></a>
---
 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/ )
 
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title></title>
<font face="Helvetica, Arial, sans-serif" size="-2"><font
 color="#999999">Mario Limonciello</font><br>
<b><font color="#ff0000">Dell</font> | <font color="#666666">Linux
Engineering</font></b><font color="#666666"><br>
</font><font color="#666666"><a class="moz-txt-link-abbreviated" href="mailto:mario_limonciello@dell.com">mario_limonciello@dell.com</a></font></font>
</div>
</body>
</html>