Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 10050 Details for
Bug 18511
emerge mplayer doesn't detect/use altivec on benh kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to mplayer to enable altivec on benh kernels
configure-altivec.patch (text/plain), 1.39 KB, created by
Stephan van Maris
on 2003-03-30 20:45:40 UTC
(
hide
)
Description:
Patch to mplayer to enable altivec on benh kernels
Filename:
MIME Type:
Creator:
Stephan van Maris
Created:
2003-03-30 20:45:40 UTC
Size:
1.39 KB
patch
obsolete
>--- configure 2003-03-31 03:26:38.000000000 +0200 >+++ configure-altivec 2003-03-31 03:05:12.000000000 +0200 >@@ -550,14 +550,21 @@ > fi > > pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -1` >+ > pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1` >+ > pfamily=`$_cpuinfo | grep 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1` > pmodel=`$_cpuinfo | grep -v 'model name' | grep 'model' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1` > pstepping=`$_cpuinfo | grep 'stepping' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1` > > pparam=`$_cpuinfo | grep 'features' | cut -d ':' -f 2 | head -1` > if test -z "$pparam" ; then >- pparam=`$_cpuinfo | grep 'flags' | cut -d ':' -f 2 | head -1` >+ pparam=`$_cpuinfo | grep '^flags' | cut -d ':' -f 2 | head -1` >+ fi >+ >+ # Fix for benh kernel on ppc >+ if test -z "$pparam" ; then >+ pparam=`$_cpuinfo | grep 'cpu' | cut -d ':' -f 2 | cut -d ' ' -f 3 | head -1` > fi > > _mmx=no >@@ -764,7 +771,7 @@ > _march="-march=$proc" > _mcpu="-mcpu=$proc" > _optimizing="$proc" >- fi >+ fi > else > # i686 is probably the most common CPU - optimize for it > _mcpu="-mcpu=i686" >@@ -848,6 +855,11 @@ > _march='-mcpu=750' > _mcpu='-mtune=750' > fi >+ >+ if test "$pparam" = "altivec"; then >+ _mcpu='-mcpu=750' >+ _march='-maltivec -mabi=altivec' >+ fi > ;; > > alpha)
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 18511
:
10050
|
10308
|
10309
|
10310
|
10347
|
10348
|
10550