Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 158909 Details for
Bug 230127
patch for games-board/pouetchess-0.2.0-r1: LibSDL headers are required for this program
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Adds generic x86_64 support for pouetChess.
pouetchess-0.2.0-x86_64-headers.patch (text/plain), 680 bytes, created by
Steve Pedersen
on 2008-06-30 04:47:34 UTC
(
hide
)
Description:
Adds generic x86_64 support for pouetChess.
Filename:
MIME Type:
Creator:
Steve Pedersen
Created:
2008-06-30 04:47:34 UTC
Size:
680 bytes
patch
obsolete
>--- pouetChess.py 2006-05-28 14:48:12.000000000 +0000 >+++ pouetChess.py.new 2008-06-30 03:46:46.000000000 +0000 >@@ -2,6 +2,7 @@ > > import re, os, sys > import SCons.Util >+import commands > from SCons.Options import Options > > >@@ -184,9 +185,14 @@ > > > f.close() >+ arch = commands.getoutput('uname -m') > if len(archflags) == 0: >- print "Couldn't detect your CPU, guessing i686 compatible.." >- archflags=['-march=i686'] >+ if arch == 'x86_64': >+ print "Couldn't detect your CPU, `uname -m` indicates x86_64 compatible.." >+ archflags=['-march=x86-64'] >+ else: >+ print "Couldn't detect your CPU, guessing i686 compatible.." >+ archflags=['-march=i686'] > return archflags
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 230127
: 158909 |
160707