projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f75cd3a
)
dev-ruby/msgpack: fix compilation on x86
author
Hans de Graaff
<graaff@gentoo.org>
Mon, 30 May 2016 18:05:42 +0000
(20:05 +0200)
committer
Hans de Graaff
<graaff@gentoo.org>
Mon, 30 May 2016 18:11:32 +0000
(20:11 +0200)
Fix bug 582968 by avoiding the default --no-undefined linker
flag. This is only an issue on 32bit arches due to a difference
in inlining rb_num2int.
Package-Manager: portage-2.2.28
dev-ruby/msgpack/msgpack-0.7.6.ebuild
patch
|
blob
|
history
diff --git
a/dev-ruby/msgpack/msgpack-0.7.6.ebuild
b/dev-ruby/msgpack/msgpack-0.7.6.ebuild
index 268ddc80aac3391c37ec27ef6c2bcea34991fe6e..fc0ae75af735c782bc19446c34247bb6d0366622 100644
(file)
--- a/
dev-ruby/msgpack/msgpack-0.7.6.ebuild
+++ b/
dev-ruby/msgpack/msgpack-0.7.6.ebuild
@@
-33,6
+33,10
@@
all_ruby_prepare() {
each_ruby_configure() {
${RUBY} -Cext/${PN} extconf.rb || die "Configuration of extension failed."
+
+ # rb_num2int is not inlined on 32 bit arches but also not explicitly
+ # defined, bug 582968
+ sed -i -e 's:-Wl,--no-undefined::' ext/${PN}/Makefile || die
}
each_ruby_compile() {