summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2020-01-05 06:17:53 +0900
committerNaohiro Aota <naota@gentoo.org>2020-01-05 06:40:14 +0900
commitc6f66627b9238efbddc623de273ab1d5bf4874cd (patch)
tree9818b0cd590a2eea59d2d5af24f6898f72aa542e /dev-util
parentsys-libs/binutils-libs: 2.33.1 bump up to patchset 2 (diff)
downloadgentoo-c6f66627b9238efbddc623de273ab1d5bf4874cd.tar.gz
gentoo-c6f66627b9238efbddc623de273ab1d5bf4874cd.tar.bz2
gentoo-c6f66627b9238efbddc623de273ab1d5bf4874cd.zip
dev-util/perf: fix build with -Werror
Apply an upstream patch to fix the issue. Closes: https://bugs.gentoo.org/704254 Signed-off-by: Naohiro Aota <naota@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/perf/Manifest2
-rw-r--r--dev-util/perf/perf-5.4.7.ebuild (renamed from dev-util/perf/perf-5.4.6.ebuild)4
2 files changed, 5 insertions, 1 deletions
diff --git a/dev-util/perf/Manifest b/dev-util/perf/Manifest
index 14e8bf98547c..11d1946d67e2 100644
--- a/dev-util/perf/Manifest
+++ b/dev-util/perf/Manifest
@@ -5,4 +5,4 @@ DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6
DIST patch-4.14.33.xz 905284 BLAKE2B e67bd9a96708aaaf65eb0aa852493b2323c9e237bfcc6fa837f795e481943ead3e2d5005ee72e40fc247df01c50877d9da3848a05aba3c999c3cfb7678cbdbc9 SHA512 5c76be5171709c2df7df7d5a8e8f3d0f7ede47b433da3b0f1710f262c8fcf5cf6c744a96d4336ea397c2c88a5f0a7507a5ab08c7c82f08deeb7a6f887ad77cfd
DIST patch-4.20.3.xz 91732 BLAKE2B bf99271bcb35508df239343fd6c9d57c246f88320b586e44e2d97771d08b249a24db230214d4957015a5ed35261e201f0680101b99d0e92f0f1f69bc53e21458 SHA512 47178b8e3bfe4ba09cb82bb1ce8b0742e6749d4be3412fb57518918f7109e74eac1d3d8eb32a43e21b3837a14f37d5eefd8cab819defd10cc2db61fb0ceddeaf
DIST patch-5.3.7.xz 255616 BLAKE2B 18ec40508fdb2cc17dd927f3ddef07b2b744ff993de75bb7adebe3a3f97c9383ea1845085899aa939ca8a15515420c18a1ac0ae832f9ae52f18cc8ed59a1e75f SHA512 bf2717b721b3acfd423537a6a520388e6a596ae65605ed8c029a67c117a002e9a21c324de0dd41407bfdc8ef95263687764f4f46aa59cbb50f68ab21b96c29d6
-DIST patch-5.4.6.xz 167272 BLAKE2B 43d7b0b7ee412f68eceb3be32d2629d1a5effef127b3351a499463a740809bdd7274c1ec409bbd77b203b2e4ef117c5c390b4d4b6a440385ab91ee9dcac74926 SHA512 6f6d73c7ce71d47e810847149f4c258f5fb99c98fc67d385a3ff74889543a415bf8bb77c748a13f72b733bca770773731d84713a9be98d630b7377a792f11f5a
+DIST patch-5.4.7.xz 272092 BLAKE2B dc9e1cede993144a4d9cb17cb91d3857b6492fa1a971c743268afdc601edfafb033abc3ac24cb7789d3f171ea7fb6b60ad5197da445ab72f5e9cf2ae00e7f495 SHA512 396eaf9fe88045e6e308cbe8e72217b3334b637bfa7e85f8d27cc4dd8e3d94c6f58d2b7b3e237defcf647d500610b85780ec2e21f1d91ac41c5f4ef3e74dc161
diff --git a/dev-util/perf/perf-5.4.6.ebuild b/dev-util/perf/perf-5.4.7.ebuild
index caa91f6849de..13741eb76f6b 100644
--- a/dev-util/perf/perf-5.4.6.ebuild
+++ b/dev-util/perf/perf-5.4.7.ebuild
@@ -122,6 +122,10 @@ src_unpack() {
fi
CC=${old_CC}
fi
+
+ pushd "${S_K}" >/dev/null || die
+ eapply "${FILESDIR}/perf-5.4.7-propagate-cflags.patch"
+ popd || die
}
src_prepare() {