diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-06-21 14:43:13 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-06-21 14:47:20 -0400 |
commit | f640a3c0f7560d0bcc23e6a3e0ff9f7346e707f1 (patch) | |
tree | 179d32e707a9b0284e1b592b630e46a4fe0c11fe /x11-apps/intel-gpu-tools | |
parent | net-fs/autofs: arm stable, bug #585992 (diff) | |
download | gentoo-f640a3c0f7560d0bcc23e6a3e0ff9f7346e707f1.tar.gz gentoo-f640a3c0f7560d0bcc23e6a3e0ff9f7346e707f1.tar.bz2 gentoo-f640a3c0f7560d0bcc23e6a3e0ff9f7346e707f1.zip |
x11-libs/intel-gpu-tools: fix building due to missing inttypes.h #582430
Diffstat (limited to 'x11-apps/intel-gpu-tools')
-rw-r--r-- | x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-inttypes.patch | 28 | ||||
-rw-r--r-- | x11-apps/intel-gpu-tools/intel-gpu-tools-1.12.ebuild | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-inttypes.patch b/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-inttypes.patch new file mode 100644 index 000000000000..02a97c48d121 --- /dev/null +++ b/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-inttypes.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/582430 + +From d24f4a5c5fe45e2fad8942acc137f87cd8f35ea5 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Tue, 21 Jun 2016 14:37:38 -0400 +Subject: [PATCH] include inttypes.h for PRI defines + +Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96620 +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + lib/igt_fb.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/igt_fb.c b/lib/igt_fb.c +index 61205f345707..ba29eae5cabd 100644 +--- a/lib/igt_fb.c ++++ b/lib/igt_fb.c +@@ -28,6 +28,7 @@ + #define _GNU_SOURCE + #include <stdio.h> + #include <math.h> ++#include <inttypes.h> + + #include "drmtest.h" + #include "igt_fb.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 6ce5c35f0781..b25044b3a7cc 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 @@ -22,6 +22,10 @@ DEPEND="dev-libs/glib:2 unwind? ( sys-libs/libunwind )" RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-1.12-inttypes.patch #582430 +) + pkg_setup() { use python && python-single-r1_pkg_setup } |