From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3B0791382AC for ; Tue, 21 Jun 2016 18:47:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22668E08B8; Tue, 21 Jun 2016 18:47:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 88A95E08B5 for ; Tue, 21 Jun 2016 18:47:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E45B633E5E4 for ; Tue, 21 Jun 2016 18:47:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 820E4241B for ; Tue, 21 Jun 2016 18:47:38 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1466534840.449032a9e6f9e3013024e37f9085b17f71353ba1.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-apps/intel-gpu-tools/files/, x11-apps/intel-gpu-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-sysmacros.patch x11-apps/intel-gpu-tools/intel-gpu-tools-1.12.ebuild X-VCS-Directories: x11-apps/intel-gpu-tools/ x11-apps/intel-gpu-tools/files/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 449032a9e6f9e3013024e37f9085b17f71353ba1 X-VCS-Branch: master Date: Tue, 21 Jun 2016 18:47:38 +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: 724ddda4-7b9e-4276-995e-62af9cae907c X-Archives-Hash: 558a4f128892f594004776c3c33b1f0f commit: 449032a9e6f9e3013024e37f9085b17f71353ba1 Author: Mike Frysinger gentoo org> AuthorDate: Tue Jun 21 18:43:49 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Jun 21 18:47:20 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449032a9 x11-libs/intel-gpu-tools: fix building w/newer glibc #581080 .../files/intel-gpu-tools-1.12-sysmacros.patch | 35 ++++++++++++++++++++++ .../intel-gpu-tools/intel-gpu-tools-1.12.ebuild | 1 + 2 files changed, 36 insertions(+) diff --git a/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-sysmacros.patch b/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-sysmacros.patch new file mode 100644 index 0000000..c805c12 --- /dev/null +++ b/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-sysmacros.patch @@ -0,0 +1,35 @@ +https://bugs.gentoo.org/581080 + +From 3e8cc82d371b23303cd4f30e4bcc9c5ecb10ad11 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Tue, 21 Jun 2016 14:24:42 -0400 +Subject: [PATCH] pull in headers for major/minor/makedev funcs + +Use the portable autoconf helper to figure out which header to include +for these funcs. Linux C libs are moving to not implicitly include them +via sys/types.h anymore, and other OS's have long required you to pull +in the right header directly. + +Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96618 +Signed-off-by: Mike Frysinger +--- + configure.ac | 1 + + lib/igt_sysfs.c | 9 +++++++++ + tools/aubdump.c | 8 +++++++- + 3 files changed, 17 insertions(+), 1 deletion(-) + +--- a/tools/aubdump.c ++++ b/tools/aubdump.c +@@ -38,6 +38,9 @@ + #include + #include + #include ++#ifdef __linux__ ++#include ++#endif + #include + + #include "intel_aub.h" +-- +2.8.2 + diff --git a/x11-apps/intel-gpu-tools/intel-gpu-tools-1.12.ebuild b/x11-apps/intel-gpu-tools/intel-gpu-tools-1.12.ebuild index b25044b..7bb57f6 100644 --- a/x11-apps/intel-gpu-tools/intel-gpu-tools-1.12.ebuild +++ b/x11-apps/intel-gpu-tools/intel-gpu-tools-1.12.ebuild @@ -24,6 +24,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${PN}-1.12-inttypes.patch #582430 + "${FILESDIR}"/${PN}-1.12-sysmacros.patch #581080 ) pkg_setup() {