Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 580738 Details for
Bug 688668
dev-python/m2crypto: respect arch in CHOST for swig
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch for M2Crypto/setup.py
m2crypto-swig-chost-0.31.0.patch (text/plain), 597 bytes, created by
Michael Haubenwallner (RETIRED)
on 2019-06-25 12:46:31 UTC
(
hide
)
Description:
proposed patch for M2Crypto/setup.py
Filename:
MIME Type:
Creator:
Michael Haubenwallner (RETIRED)
Created:
2019-06-25 12:46:31 UTC
Size:
597 bytes
patch
obsolete
>--- M2Crypto-0.31.0/setup.py >+++ M2Crypto-0.31.0/setup.py >@@ -164,6 +164,10 @@ > # For RedHat-based distros, the '-D__{arch}__' option for > # Swig needs to be normalized, particularly on i386. > mach = platform.machine().lower() >+ if 'CHOST' in os.environ: >+ chost = os.environ['CHOST'].split('-') >+ if len(chost) >= 3: >+ mach = chost[0] > if mach in ('i386', 'i486', 'i586', 'i686'): > arch = '__i386__' > elif mach in ('ppc64', 'powerpc64', 'ppc64le', 'ppc64el'):
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 688668
: 580738