diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-21 21:00:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-21 21:00:58 +0100 |
commit | 8b2628ad8526c806375e7b157889e4274b70248b (patch) | |
tree | ccba8cd56af7e086131454d6062d5d31115791df /dev-ruby/sigar/sigar-0.7.3.ebuild | |
parent | b620fb1b0929ff9657a2588aaa42b85e3021c102 (diff) |
gentoo resync : 21.10.2017
Diffstat (limited to 'dev-ruby/sigar/sigar-0.7.3.ebuild')
-rw-r--r-- | dev-ruby/sigar/sigar-0.7.3.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ruby/sigar/sigar-0.7.3.ebuild b/dev-ruby/sigar/sigar-0.7.3.ebuild index 724cfd327d53..2dc9e6cb9b7b 100644 --- a/dev-ruby/sigar/sigar-0.7.3.ebuild +++ b/dev-ruby/sigar/sigar-0.7.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 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() { |