projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1476c13
)
dev-ruby/sigar: fix compilation issues, bug 581138
author
Hans de Graaff
<graaff@gentoo.org>
Sat, 21 Oct 2017 05:57:23 +0000
(07:57 +0200)
committer
Hans de Graaff
<graaff@gentoo.org>
Sat, 21 Oct 2017 05:58:57 +0000
(07:58 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3
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 724cfd327d5344b044acc175b3cac7c848f12929..2dc9e6cb9b7b51c7e8141461f7107319aca7dc16 100644
(file)
--- a/
dev-ruby/sigar/sigar-0.7.3.ebuild
+++ b/
dev-ruby/sigar/sigar-0.7.3.ebuild
@@
-1,4
+1,4
@@
-# Copyright 1999-201
6
Gentoo Foundation
+# Copyright 1999-201
7
Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@
-20,6
+20,10
@@
IUSE=""
all_ruby_prepare() {
sed -i -e '25i$CFLAGS += " -std=gnu89"' bindings/ruby/extconf.rb || die
+
+ # Fix compatibility with glibc 2.25
+ sed -i -e '26i#include <sys/sysmacros.h>' \
+ -e '27i#include <ctype.h>' bindings/ruby/rbsigar.c || die
}
each_ruby_configure() {