1 |
commit: d17d7558719411a598eddf1147b4c6b4a2b9b163 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 30 18:05:42 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 30 18:11:32 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d17d7558 |
7 |
|
8 |
dev-ruby/msgpack: fix compilation on x86 |
9 |
|
10 |
Fix bug 582968 by avoiding the default --no-undefined linker |
11 |
flag. This is only an issue on 32bit arches due to a difference |
12 |
in inlining rb_num2int. |
13 |
|
14 |
Package-Manager: portage-2.2.28 |
15 |
|
16 |
dev-ruby/msgpack/msgpack-0.7.6.ebuild | 4 ++++ |
17 |
1 file changed, 4 insertions(+) |
18 |
|
19 |
diff --git a/dev-ruby/msgpack/msgpack-0.7.6.ebuild b/dev-ruby/msgpack/msgpack-0.7.6.ebuild |
20 |
index 268ddc8..fc0ae75 100644 |
21 |
--- a/dev-ruby/msgpack/msgpack-0.7.6.ebuild |
22 |
+++ b/dev-ruby/msgpack/msgpack-0.7.6.ebuild |
23 |
@@ -33,6 +33,10 @@ all_ruby_prepare() { |
24 |
|
25 |
each_ruby_configure() { |
26 |
${RUBY} -Cext/${PN} extconf.rb || die "Configuration of extension failed." |
27 |
+ |
28 |
+ # rb_num2int is not inlined on 32 bit arches but also not explicitly |
29 |
+ # defined, bug 582968 |
30 |
+ sed -i -e 's:-Wl,--no-undefined::' ext/${PN}/Makefile || die |
31 |
} |
32 |
|
33 |
each_ruby_compile() { |