Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146892 - Fixes for media-libs/mesa to correctly build with DRI enabled on gentoo-freebsd
Summary: Fixes for media-libs/mesa to correctly build with DRI enabled on gentoo-freebsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
: 148351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-08 18:17 UTC by Javier Villavicencio (RETIRED)
Modified: 2006-10-07 13:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mesa-6.5-r4_ebuild.patch (mesa-6.5-r4_ebuild.patch,1.33 KB, patch)
2006-09-08 18:18 UTC, Javier Villavicencio (RETIRED)
Details | Diff
6.5-redirect-fix.patch (6.5-redirect-fix.patch,362 bytes, patch)
2006-09-08 18:19 UTC, Javier Villavicencio (RETIRED)
Details | Diff
6.5-fbsd-configs-fix.patch (6.5-fbsd-configs-fix.patch,515 bytes, patch)
2006-09-10 21:37 UTC, Javier Villavicencio (RETIRED)
Details | Diff
mesa_ebuild.patch (mesa_ebuild.patch,857 bytes, patch)
2006-09-11 10:02 UTC, Javier Villavicencio (RETIRED)
Details | Diff
6.5-freebsd-dri.patch (6.5-freebsd-dri.patch,1.05 KB, patch)
2006-09-11 10:04 UTC, Javier Villavicencio (RETIRED)
Details | Diff
6.5.1-freebsd-dri.patch (6.5.1-freebsd-dri.patch,1.01 KB, patch)
2006-09-19 10:45 UTC, Javier Villavicencio (RETIRED)
Details | Diff
6.5.1-freebsd-dri.patch (6.5.1-freebsd-dri.patch,1.23 KB, patch)
2006-09-19 15:41 UTC, Javier Villavicencio (RETIRED)
Details | Diff
mesa-6.5.1-r1.ebuild.patch (mesa-6.5.1-r1.ebuild.patch,960 bytes, patch)
2006-09-19 18:07 UTC, Javier Villavicencio (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Villavicencio (RETIRED) gentoo-dev 2006-09-08 18:17:42 UTC
Attaching patch for ebuild for correctly enabling DRI for gentoo-freebsd, and patch that fixes a little error that shows up on a Makefile when enabling DRI on freebsd.
Comment 1 Javier Villavicencio (RETIRED) gentoo-dev 2006-09-08 18:18:38 UTC
Created attachment 96451 [details, diff]
mesa-6.5-r4_ebuild.patch

Patch for the ebuild.
Comment 2 Javier Villavicencio (RETIRED) gentoo-dev 2006-09-08 18:19:28 UTC
Created attachment 96452 [details, diff]
6.5-redirect-fix.patch

Little fix for the output redirect error.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-08 18:34:26 UTC
I'm adding Inclusion because this needs looking at, not necessarily because the patches should be added as-is.
Comment 4 Javier Villavicencio (RETIRED) gentoo-dev 2006-09-10 21:37:40 UTC
Created attachment 96647 [details, diff]
6.5-fbsd-configs-fix.patch

Fixes compilation without motif useflag enabled.
Comment 5 Javier Villavicencio (RETIRED) gentoo-dev 2006-09-11 10:02:26 UTC
Created attachment 96724 [details, diff]
mesa_ebuild.patch

Fixes to the fix.
Comment 6 Javier Villavicencio (RETIRED) gentoo-dev 2006-09-11 10:04:42 UTC
Created attachment 96726 [details, diff]
6.5-freebsd-dri.patch

A more correct way of making freebsd-dri config file to use our flags (just snatched from freebsd config to freebsd-dri)
Comment 7 Joshua Baergen (RETIRED) gentoo-dev 2006-09-12 15:07:12 UTC
Looks nice and simple to me.  Donnie, you disagree with any of the changes here?
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-12 18:31:42 UTC
We discussed it on IRC the other day, I'll need to take another look.
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-18 04:52:10 UTC
These patches look reasonable to me and are probably worth sending upstream as well.
Comment 10 Javier Villavicencio (RETIRED) gentoo-dev 2006-09-18 13:32:52 UTC
Patches sent. (freedesktop bug 8344)
Comment 11 Javier Villavicencio (RETIRED) gentoo-dev 2006-09-19 10:35:00 UTC
Patches have been applied upstream.
Comment 12 Javier Villavicencio (RETIRED) gentoo-dev 2006-09-19 10:45:16 UTC
Created attachment 97439 [details, diff]
6.5.1-freebsd-dri.patch

Updated patch for mesa-6.5.1.
Comment 13 Javier Villavicencio (RETIRED) gentoo-dev 2006-09-19 15:41:29 UTC
Created attachment 97468 [details, diff]
6.5.1-freebsd-dri.patch

Additional last minute fixes.
Comment 14 Javier Villavicencio (RETIRED) gentoo-dev 2006-09-19 18:07:53 UTC
Created attachment 97481 [details, diff]
mesa-6.5.1-r1.ebuild.patch

These are the required changes to the ebuild.

The removal of -DHAVE_POSIX_MEMALIGN from freebsd-dri is required because this function is not implemented in the FreeBSD 6.1 libc. As far as i've checked it's only implemented on 7.0-CURRENT.

Regarding the libdrm issue discussed on irc, i mailed Brian Paul and he said he commited already that fix as well.
Comment 15 Javier Villavicencio (RETIRED) gentoo-dev 2006-09-21 12:32:14 UTC
Applied to cvs.
Comment 16 Javier Villavicencio (RETIRED) gentoo-dev 2006-10-07 13:25:27 UTC
*** Bug 148351 has been marked as a duplicate of this bug. ***