summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-05-30 20:10:29 +0200
committerHans de Graaff <graaff@gentoo.org>2016-05-30 20:11:35 +0200
commite7cd24f354a4b86225c02ca707ce7811c86b7ffe (patch)
treea976dd0cb5c268329846cb30b32906b74dd4ac1f /dev-ruby/msgpack
parentdev-ruby/msgpack: fix compilation on x86 (diff)
downloadgentoo-e7cd24f354a4b86225c02ca707ce7811c86b7ffe.tar.gz
gentoo-e7cd24f354a4b86225c02ca707ce7811c86b7ffe.tar.bz2
gentoo-e7cd24f354a4b86225c02ca707ce7811c86b7ffe.zip
dev-ruby/msgpack: backport fix for bug 582968 to x86-keyworded version
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/msgpack')
-rw-r--r--dev-ruby/msgpack/msgpack-0.7.4.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ruby/msgpack/msgpack-0.7.4.ebuild b/dev-ruby/msgpack/msgpack-0.7.4.ebuild
index d6f6e81f595f..bb9d9cc3c81f 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() {