commit: e7cd24f354a4b86225c02ca707ce7811c86b7ffe
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon May 30 18:10:29 2016 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon May 30 18:11:35 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7cd24f3
dev-ruby/msgpack: backport fix for bug 582968 to x86-keyworded version
Package-Manager: portage-2.2.28
dev-ruby/msgpack/msgpack-0.7.4.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-ruby/msgpack/msgpack-0.7.4.ebuild
b/dev-ruby/msgpack/msgpack-0.7.4.ebuild
index d6f6e81..bb9d9cc 100644
--- a/dev-ruby/msgpack/msgpack-0.7.4.ebuild
+++ b/dev-ruby/msgpack/msgpack-0.7.4.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() {