public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/msgpack/
@ 2016-05-30 18:15 99% Hans de Graaff
  0 siblings, 0 replies; 1+ results
From: Hans de Graaff @ 2016-05-30 18:15 UTC (permalink / raw
  To: gentoo-commits

commit:     d17d7558719411a598eddf1147b4c6b4a2b9b163
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon May 30 18:05:42 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon May 30 18:11:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d17d7558

dev-ruby/msgpack: fix compilation on x86

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 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-ruby/msgpack/msgpack-0.7.6.ebuild b/dev-ruby/msgpack/msgpack-0.7.6.ebuild
index 268ddc8..fc0ae75 100644
--- 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() {


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-05-30 18:15 99% [gentoo-commits] repo/gentoo:master commit in: dev-ruby/msgpack/ Hans de Graaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox