Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 153063 Details for
Bug 219238
dev-python/wxpython-2.8.7.1 fails to build, dev-lang/python gentoo patch breaks distutils _compile interface
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
wxpython-2.8.7.1-cxxflags.patch
wxpython-2.8.7.1-cxxflags.patch (text/plain), 2.81 KB, created by
Ali Polatel (RETIRED)
on 2008-05-13 15:51:41 UTC
(
hide
)
Description:
wxpython-2.8.7.1-cxxflags.patch
Filename:
MIME Type:
Creator:
Ali Polatel (RETIRED)
Created:
2008-05-13 15:51:41 UTC
Size:
2.81 KB
patch
obsolete
>--- wxPython/config.py 2008-05-13 17:20:17.000000000 +0300 >+++ wxPython/config.py 2008-05-13 17:22:28.000000000 +0300 >@@ -751,10 +751,15 @@ > class MyUnixCCompiler(distutils.unixccompiler.UnixCCompiler): > def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): > compiler_so = self.compiler_so >+ compiler_cxx_so = self.compiler_cxx_so > if sys.platform == 'darwin': > compiler_so = _darwin_compiler_fixup(compiler_so, cc_args + extra_postargs) > try: >- self.spawn(compiler_so + cc_args + [src, '-o', obj] + >+ if self.language == "c++": >+ cc = compiler_cxx_so + cc_args >+ else: >+ cc = compiler_so + cc_args >+ self.spawn(cc + cc_args + [src, '-o', obj] + > extra_postargs) > except DistutilsExecError, msg: > raise CompileError, msg >@@ -799,7 +804,11 @@ > raise CompileError, msg > else: # for other files use the C-compiler > try: >- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + >+ if self.language == "c++": >+ cc = self.compiler_cxx_so + cc_args >+ else: >+ cc = self.compiler_so + cc_args >+ self.spawn(cc + cc_args + [src, '-o', obj] + > extra_postargs) > except DistutilsExecError, msg: > raise CompileError, msg >--- wxPython/wx/build/config.py 2008-05-13 17:22:56.000000000 +0300 >+++ wxPython/wx/build/config.py 2008-05-13 17:24:10.000000000 +0300 >@@ -751,10 +751,15 @@ > class MyUnixCCompiler(distutils.unixccompiler.UnixCCompiler): > def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): > compiler_so = self.compiler_so >+ compiler_cxx_so = self.compiler_cxx_so > if sys.platform == 'darwin': > compiler_so = _darwin_compiler_fixup(compiler_so, cc_args + extra_postargs) > try: >- self.spawn(compiler_so + cc_args + [src, '-o', obj] + >+ if self.language == "c++": >+ cc = compiler_cxx_so + cc_args >+ else: >+ cc = compiler_so + cc_args >+ self.spawn(cc + cc_args + [src, '-o', obj] + > extra_postargs) > except DistutilsExecError, msg: > raise CompileError, msg >@@ -799,7 +804,11 @@ > raise CompileError, msg > else: # for other files use the C-compiler > try: >- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + >+ if self.language == "c++": >+ cc = self.compiler_cxx_so + cc_args >+ else: >+ cc = self.compiler_so + cc_args >+ self.spawn(cc + cc_args + [src, '-o', obj] + > extra_postargs) > except DistutilsExecError, msg: > raise CompileError, msg
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 219238
:
151295
|
151296
| 153063