Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184557 Details for
Bug 261084
media-libs/mesa-7.3 enabling/disabling asm inverted
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
full diff
mesa-7.3.diff (text/plain), 2.19 KB, created by
Denis Kaganovich
on 2009-03-10 12:14:45 UTC
(
hide
)
Description:
full diff
Filename:
MIME Type:
Creator:
Denis Kaganovich
Created:
2009-03-10 12:14:45 UTC
Size:
2.19 KB
patch
obsolete
>--- /usr/portage/media-libs/mesa/mesa-7.3.ebuild 2009-02-03 18:09:52.000000000 +0200 >+++ mesa-7.3.ebuild 2009-03-10 13:56:03.000000000 +0200 >@@ -25,6 +25,8 @@ LICENSE="LGPL-2" > SLOT="0" > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" > IUSE_VIDEO_CARDS=" >+ video_cards_nouveau >+ video_cards_radeonhd > video_cards_intel > video_cards_mach64 > video_cards_mga >@@ -39,6 +41,9 @@ IUSE_VIDEO_CARDS=" > video_cards_trident > video_cards_via" > IUSE="${IUSE_VIDEO_CARDS} >+ mmx >+ sse >+ 3dnow > debug > doc > pic >@@ -115,6 +120,12 @@ src_unpack() { > find src/mesa/drivers/dri -name *.[hc] -exec egrep -l "\#define\W+DO_DEBUG\W+1" {} \; | xargs sed -i -re "s/\#define\W+DO_DEBUG\W+1/\#define DO_DEBUG 0/" ; > fi > >+ # remove unused cpu features >+ local i >+ for i in mmx sse 3dnow; do >+ use ${i} || sed -i -e s/-DUSE_${i}_ASM//i "${S}"/configure* >+ done >+ > eautoreconf > } > >@@ -134,6 +145,7 @@ src_compile() { > driver_enable video_cards_mga mga > driver_enable video_cards_r128 r128 > driver_enable video_cards_radeon radeon r200 r300 >+ driver_enable video_cards_radeonhd radeon r200 r300 > driver_enable video_cards_s3virge s3v > driver_enable video_cards_savage savage > driver_enable video_cards_sis sis >@@ -145,11 +157,15 @@ src_compile() { > # Set drivers to everything on which we ran driver_enable() > myconf="${myconf} --with-dri-drivers=${DRI_DRIVERS}" > >+ myconf="${myconf} $(use_enable video_cards_nouveau gallium-nouveau)" >+ myconf="${myconf} $(use_enable video_cards_radeonhd gallium-radeon)" >+ myconf="${myconf} $(use_enable video_cards_intel gallium-intel)" >+ > # Deactivate assembly code for pic build >- myconf="${myconf} $(use_enable pic asm)" >+ use pic && myconf="${myconf} --disable-asm" > > # Sparc assembly code is not working >- myconf="${myconf} $(use_enable sparc asm)" >+ use sparc && myconf="${myconf} --disable-asm" > > myconf="${myconf} --disable-glut" > >@@ -161,6 +177,7 @@ src_compile() { > rm -f "${S}"/include/GL/glut*h > > myconf="${myconf} $(use_enable motif glw)" >+ myconf="${myconf} $(use_enable motif motif)" > > econf ${myconf} || die > emake || die >@@ -206,6 +223,7 @@ src_install() { > > pkg_postinst() { > switch_opengl_implem >+# die "debug" > } > > fix_opengl_symlinks() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261084
:
183780
| 184557 |
184559