From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7FB5A139083 for ; Sat, 21 Oct 2017 05:59:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E7F8E0C7C; Sat, 21 Oct 2017 05:59:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78483E0C7C for ; Sat, 21 Oct 2017 05:59:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD13133BEA7 for ; Sat, 21 Oct 2017 05:59:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F8EE12F for ; Sat, 21 Oct 2017 05:59:02 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1508565537.533d83ca2219d4a5ab8a6055db0a2517baf4a7b5.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sigar/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/sigar/sigar-0.7.3.ebuild X-VCS-Directories: dev-ruby/sigar/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 533d83ca2219d4a5ab8a6055db0a2517baf4a7b5 X-VCS-Branch: master Date: Sat, 21 Oct 2017 05:59:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b3795d4f-86d6-49dc-8ec6-5b276efaaf20 X-Archives-Hash: 264cac55812fb7d31b9ebecd1b48ccef commit: 533d83ca2219d4a5ab8a6055db0a2517baf4a7b5 Author: Hans de Graaff gentoo org> AuthorDate: Sat Oct 21 05:57:23 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Oct 21 05:58:57 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=533d83ca dev-ruby/sigar: fix compilation issues, bug 581138 Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-ruby/sigar/sigar-0.7.3.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-ruby/sigar/sigar-0.7.3.ebuild b/dev-ruby/sigar/sigar-0.7.3.ebuild index 724cfd327d5..2dc9e6cb9b7 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 ' \ + -e '27i#include ' bindings/ruby/rbsigar.c || die } each_ruby_configure() {