Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 316133 Details for
Bug 415793
media-sound/lilypond-2.14.2 configure: 'Please install required programs: Python.h' (and dev-tex/tex4ht for dblatex?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Tentative patch for not stripping random parts of python-config output
lilypond-2.14.2-python-config-cflags.patch (text/plain), 1.38 KB, created by
Cyprien Nicolas (fulax)
on 2012-06-24 09:51:48 UTC
(
hide
)
Description:
Tentative patch for not stripping random parts of python-config output
Filename:
MIME Type:
Creator:
Cyprien Nicolas (fulax)
Created:
2012-06-24 09:51:48 UTC
Size:
1.38 KB
patch
obsolete
>--- aclocal.m4.orig 2012-06-24 11:38:45.000000000 +0200 >+++ aclocal.m4 2012-06-24 11:46:26.000000000 +0200 >@@ -978,7 +978,12 @@ > # Clean out junk: http://bugs.python.org/issue3290 > # Python headers may need some -f* flags, leave them in. > # We want the sed commands to look like 's/-[WDOm][[:alnum:][:punct:]][[:alnum:][:punct:]]*//g' and 's/-arch [^[:space:]]*//g', but automake eats brackets. >- PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags | sed -e 's/-[[WDOm]][[[:alnum:][:punct:]]][[[:alnum:][:punct:]]]*//g' | sed -e 's/-arch @<:@^@<:@:space:@:>@@:>@*//g'` >+ #PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags | sed -e 's/-[[WDOm]][[[:alnum:][:punct:]]][[[:alnum:][:punct:]]]*//g' | sed -e 's/-arch @<:@^@<:@:space:@:>@@:>@*//g'` >+ # The above sed BRE matches parts of legal options, stipping down part of that option, resulting in invalid gcc arguments. Gentoo Bug #415793 >+ # For instance, '-floop-stip-mime' becomes '-floop-strip', and '-fvect-cost-model' becomes '-fvect-cost'. >+ # Tentative fix to require a non alphanumeric character before the initial hyphen of the BRE. >+ # This is not perfect as the regex won't match with the first element of the python-config output >+ PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags | sed -e 's/[[^[:alnum:]]]-[[WDOm]][[[:alnum:][:punct:]]][[[:alnum:][:punct:]]]*//g' | sed -e 's/-arch @<:@^@<:@:space:@:>@@:>@*//g'` > PYTHON_LDFLAGS=`$PYTHON_CONFIG --ldflags` > fi >
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 415793
:
311673
|
311675
|
311677
| 316133 |
316865