projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b28973
)
dev-ruby/sigar: fix building with gcc 5.x, bug 570970
author
Hans de Graaff
<graaff@gentoo.org>
Sun, 11 Dec 2016 17:31:20 +0000
(18:31 +0100)
committer
Hans de Graaff
<graaff@gentoo.org>
Sun, 11 Dec 2016 17:33:00 +0000
(18:33 +0100)
Package-Manager: portage-2.3.0
dev-ruby/sigar/sigar-0.7.3.ebuild
patch
|
blob
|
history
diff --git
a/dev-ruby/sigar/sigar-0.7.3.ebuild
b/dev-ruby/sigar/sigar-0.7.3.ebuild
index f3e204537b06cbc8d48d32ac060d240dfca2610f..4db770469cff174043ab35687e20258feb3b7b53 100644
(file)
--- 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
}