FreeBSD Bugzilla – Attachment 141835 Details for
Bug 188741
devel/rubygem-ffi can't load libc on FreeBSD 10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 717 bytes, created by
Alan Somers
on 2014-04-18 01:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Alan Somers
Created:
2014-04-18 01:10:00 UTC
Size:
717 bytes
patch
obsolete
>--- lib/ffi/library.rb.orig 2014-04-17 17:47:49.000000000 -0600 >+++ lib/ffi/library.rb 2014-04-17 17:50:22.000000000 -0600 >@@ -114,9 +114,9 @@ > > rescue Exception => ex > ldscript = false >- if ex.message =~ /(([^ \t()])+\.so([^ \t:()])*):([ \t])*invalid ELF header/ >- if File.read($1) =~ /GROUP *\( *([^ \)]+) *\)/ >- libname = $1 >+ if ex.message =~ /(([^ \t()])+\.so([^ \t:()])*):([ \t])*(invalid ELF header|file too short|invalid file format)/ >+ if File.read($1) =~ /(?:GROUP|INPUT) *\( *([^\)]+)/ >+ libname = $1.split(' ')[0] > ldscript = true > end > end
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 188741
: 141835
Working