When I tried to build this package on Gentoo/FreeBSD, I encountered an issue with bsd-core/drmP.h - the drm_ati_pcigart_info struct was missing one element that the linux-core version has: "int table_size;". The attached patch and ebuild fix this.
Created attachment 122771 [details, diff] x11-drm-20070314.ebuild
Created attachment 122773 [details, diff] files/x11-drm-20070314-freebsd.patch
Please send this patch upstream. You can file a bug in the DRI product at bugs.freedesktop.org. Once you do, please post the URL here so we can track it. Thanks!
Bug filed here: https://bugs.freedesktop.org/show_bug.cgi?id=11336
BTW, question: since this is marked as "resolved", how is it tracked through final resolution? Is it marked "closed" when the upstream patch is included and the problem is fixed? Also, should I remove ~x86-fbsd keyword in the meantime?
(In reply to comment #5) > BTW, question: since this is marked as "resolved", how is it tracked through > final resolution? Is it marked "closed" when the upstream patch is included > and the problem is fixed? Please reopen it when the upstream patch is accepted. Then we will add the patch and mark the bug FIXED. > Also, should I remove ~x86-fbsd keyword in the meantime? That's your call.
Apparently, upstream's current sources look good. See below: ------- Comment #1 from bugzi06.fdo.tormod@xoxy.net 2007-06-25 10:08 PST ------- CVS is not used any longer, but git: http://gitweb.freedesktop.org/?p=mesa/drm.git;a=summary And there the structure looks good. This was fixed in commit b0c8d885ce645aee5027a75e4149ba4be265b55d
(In reply to comment #7) > Apparently, upstream's current sources look good. See below: > > ------- Comment #1 from bugzi06.fdo.tormod@xoxy.net 2007-06-25 10:08 PST > ------- > CVS is not used any longer, but git: > http://gitweb.freedesktop.org/?p=mesa/drm.git;a=summary > > And there the structure looks good. This was fixed in commit > b0c8d885ce645aee5027a75e4149ba4be265b55d Thanks for looking into this! We should probably just bump x11-drm. Bryan?
I'm working on a bump. The hang-up is due to changes on some things on the Linux side.
Pushed patchball 0.4 for 20070314, with that FreeBSD fix. Hopefully it works, I've no way of testing. This version is being kept around for DRI compatibility (i810 that I know of so far). 20080710 should have the upstream fix included.