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

Timo Aaltonen tjaalton at cc.hut.fi
Tue Dec 16 21:30:47 UTC 2008

On Tue, 16 Dec 2008, Timo Aaltonen wrote:

> On Tue, 16 Dec 2008, Andy Whitcroft wrote:
>> On Tue, Dec 16, 2008 at 09:42:42AM -0600, Mario Limonciello wrote:
>>> Hi Andy:
>>> 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.
>> Interesting I was not aware of diverts.  There is a nice simple example
>> in the dash package.  Will suggest this to the libdrm-dev people.
> diverts are usually a pain to maintain and get right, and in this case
> should not even be necessary to use them. We just need to fix the X
> drivers to use the kernel drm headers, for instance for -ati there is:
> http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=da021c36bbdf3bca31ee50ebe01cdb9495c09b36
> I removed src/radeon_drm.h from -ati and it built just fine, but the
> commit above ensures that the driver remains backportable.
> Now intel just needs to fix their driver so that it'll build, and that's
> what is holding libdrm 2.4.2 back.
> So, best would be to use this patch, and sort the mess after alpha2.

Umm, no, since that would mean rebuilding the kernel. Instead lets do what 
cjwatson suggested on IRC and add a Replaces: linux-libc-dev (<= 
2.6.28-3.4) to libdrm-dev. That's much quicker to push.


More information about the kernel-team mailing list