commit:     f6f304336d036d81d199cd4be4a9975ec9840d5e
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  2 06:55:36 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Apr  2 06:55:36 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f30433

fix compilation when functions are not inlined

Closes: https://bugs.gentoo.org/629164
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild 
b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild
index 692e9373f3d..0370d800224 100644
--- a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild
+++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild
@@ -30,6 +30,9 @@ all_ruby_prepare() {
 
 each_ruby_configure() {
        ${RUBY} -Cext/mri extconf.rb || die
+
+       # Some methods may not be inlined on x86 but they are not defined 
either, bug 629164
+       sed -i -e 's:-Wl,--no-undefined::' ext/mri/Makefile || die
 }
 
 each_ruby_compile() {

Reply via email to