From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1004042-garchives=archives.gentoo.org@lists.gentoo.org> 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 D566F1382C5 for <garchives@archives.gentoo.org>; Sat, 17 Feb 2018 07:34:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE1C0E0977; Sat, 17 Feb 2018 07:34:48 +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 AF88CE0977 for <gentoo-commits@lists.gentoo.org>; Sat, 17 Feb 2018 07:34:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 457F9335C43 for <gentoo-commits@lists.gentoo.org>; Sat, 17 Feb 2018 07:34:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 662A1215 for <gentoo-commits@lists.gentoo.org>; Sat, 17 Feb 2018 07:34:45 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> 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" <graaff@gentoo.org> Message-ID: <1518852871.4f4564eb181a767bda25ceaf541163e167e6dd00.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: 4f4564eb181a767bda25ceaf541163e167e6dd00 X-VCS-Branch: master Date: Sat, 17 Feb 2018 07:34:45 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 53df9455-fa57-40c3-844a-108ab1ffcb2e X-Archives-Hash: 13b4366c3856378aeda22923c4847765 commit: 4f4564eb181a767bda25ceaf541163e167e6dd00 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Feb 17 07:34:31 2018 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Feb 17 07:34:31 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f4564eb dev-ruby/sigar: fix build with glibc 2.26 Thanks to Reuben Martin in bug 639470. Closes: https://bugs.gentoo.org/639470 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-ruby/sigar/sigar-0.7.3.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-ruby/sigar/sigar-0.7.3.ebuild b/dev-ruby/sigar/sigar-0.7.3.ebuild index 03c1758bc3e..116f75eba32 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-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -18,8 +18,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" +DEPEND+=" || ( <sys-libs/glibc-2.26 net-libs/libtirpc )" + all_ruby_prepare() { - sed -i -e '25i$CFLAGS += " -std=gnu89"' bindings/ruby/extconf.rb || die + sed -i -e '25i$CFLAGS += " -std=gnu89"' \ + -e '25i$LDFLAGS += " -ltirpc"' bindings/ruby/extconf.rb || die # Fix compatibility with glibc 2.25 sed -i -e '26i#include <sys/sysmacros.h>' \