diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-12-11 18:31:20 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-12-11 18:33:00 +0100 |
commit | 5111c9d8686549fa18cbfe0c4e46b86598b7a8b9 (patch) | |
tree | cb4373d0c0804999c5c1974b393f58d2ca0af95c /dev-ruby/sigar | |
parent | sys-kernel/gentoo-sources: Linux patch 4.4.38 (diff) | |
download | gentoo-5111c9d8686549fa18cbfe0c4e46b86598b7a8b9.tar.gz gentoo-5111c9d8686549fa18cbfe0c4e46b86598b7a8b9.tar.bz2 gentoo-5111c9d8686549fa18cbfe0c4e46b86598b7a8b9.zip |
dev-ruby/sigar: fix building with gcc 5.x, bug 570970
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/sigar')
-rw-r--r-- | dev-ruby/sigar/sigar-0.7.3.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ruby/sigar/sigar-0.7.3.ebuild b/dev-ruby/sigar/sigar-0.7.3.ebuild index f3e204537b06..4db770469cff 100644 --- a/dev-ruby/sigar/sigar-0.7.3.ebuild +++ b/dev-ruby/sigar/sigar-0.7.3.ebuild @@ -19,6 +19,10 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" +all_ruby_prepare() { + sed -i -e '25i$CFLAGS += " -std=gnu89"' bindings/ruby/extconf.rb || die +} + each_ruby_configure() { ${RUBY} -Cbindings/ruby extconf.rb || die } |