Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 297291 Details for
Bug 396393
dev-lang/ruby-1.8.7_p352: callback.func:1:7: error: expected identifier or ‘(’ before ‘long’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fix compile of ruby 1.8.7 with glibc-2.14
stdout-rouge-fix.patch (text/plain), 719 bytes, created by
Guillaume Horel
on 2011-12-29 09:47:34 UTC
(
hide
)
Description:
fix compile of ruby 1.8.7 with glibc-2.14
Filename:
MIME Type:
Creator:
Guillaume Horel
Created:
2011-12-29 09:47:34 UTC
Size:
719 bytes
patch
obsolete
>diff --git a/lib/mkmf.rb b/lib/mkmf.rb >index c9e738a..7a8004d 100644 >--- a/lib/mkmf.rb >+++ b/lib/mkmf.rb >@@ -201,20 +201,26 @@ end > module Logging > @log = nil > @logfile = 'mkmf.log' >- @orgerr = $stderr.dup >- @orgout = $stdout.dup > @postpone = 0 > @quiet = $extmk > > def self::open > @log ||= File::open(@logfile, 'w') > @log.sync = true >+ orgerr = $stderr.dup >+ orgout = $stdout.dup > $stderr.reopen(@log) > $stdout.reopen(@log) > yield > ensure >- $stderr.reopen(@orgerr) >- $stdout.reopen(@orgout) >+ if orgerr >+ $stderr.reopen(orgerr) >+ orgerr.close >+ end >+ if orgout >+ $stdout.reopen(orgout) >+ orgout.close >+ end > end > > def self::message(*s)
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 Raw
Actions:
View
Attachments on
bug 396393
:
297289
| 297291