diff options
author | Matoro Mahri <matoro_gentoo@matoro.tk> | 2024-02-20 13:04:31 -0500 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-02-22 00:35:52 +0000 |
commit | 5986c3f9e460646d703ea15d6d51ba99f6cda59e (patch) | |
tree | 5b2b4522c2fea69cf2a851cba3e9274c71adc632 /dev-util/perf | |
parent | dev-util/babeltrace: add 1.5.11 (diff) | |
download | gentoo-5986c3f9e460646d703ea15d6d51ba99f6cda59e.tar.gz gentoo-5986c3f9e460646d703ea15d6d51ba99f6cda59e.tar.bz2 gentoo-5986c3f9e460646d703ea15d6d51ba99f6cda59e.zip |
dev-util/perf: fix build on ia64
Upstream no longer taking patches for ia64.
Closes: https://github.com/gentoo/gentoo/pull/35445
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-util/perf')
-rw-r--r-- | dev-util/perf/files/perf-6.6-ia64.patch | 12 | ||||
-rw-r--r-- | dev-util/perf/perf-6.6.ebuild | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/perf/files/perf-6.6-ia64.patch b/dev-util/perf/files/perf-6.6-ia64.patch new file mode 100644 index 000000000000..111efe2ff2e7 --- /dev/null +++ b/dev-util/perf/files/perf-6.6-ia64.patch @@ -0,0 +1,12 @@ +diff --git a/tools/arch/ia64/include/asm/barrier.h b/tools/arch/ia64/include/asm/barrier.h +index 6fffe5682713..9753f11d79ad 100644 +--- a/tools/arch/ia64/include/asm/barrier.h ++++ b/tools/arch/ia64/include/asm/barrier.h +@@ -14,6 +14,7 @@ + #ifndef _TOOLS_LINUX_ASM_IA64_BARRIER_H + #define _TOOLS_LINUX_ASM_IA64_BARRIER_H + ++#include <asm/intrinsics.h> + #include <linux/compiler.h> + + /* diff --git a/dev-util/perf/perf-6.6.ebuild b/dev-util/perf/perf-6.6.ebuild index d7386a01aedb..6436d68b9705 100644 --- a/dev-util/perf/perf-6.6.ebuild +++ b/dev-util/perf/perf-6.6.ebuild @@ -176,6 +176,7 @@ src_prepare() { pushd "${S_K}" >/dev/null || die eapply "${FILESDIR}"/perf-6.4-libtracefs.patch + eapply "${FILESDIR}"/perf-6.6-ia64.patch popd || die # Drop some upstream too-developer-oriented flags and fix the |