diff options
Diffstat (limited to 'x11-apps/radeon-profile')
-rw-r--r-- | x11-apps/radeon-profile/Manifest | 4 | ||||
-rw-r--r-- | x11-apps/radeon-profile/files/radeon-profile-20200824-segfault.patch | 33 | ||||
-rw-r--r-- | x11-apps/radeon-profile/radeon-profile-20200824-r1.ebuild (renamed from x11-apps/radeon-profile/radeon-profile-20200504-r1.ebuild) | 3 |
3 files changed, 37 insertions, 3 deletions
diff --git a/x11-apps/radeon-profile/Manifest b/x11-apps/radeon-profile/Manifest index ecd6676d29f9..8c4b83bc41bc 100644 --- a/x11-apps/radeon-profile/Manifest +++ b/x11-apps/radeon-profile/Manifest @@ -1,7 +1,7 @@ AUX radeon-profile-20200504-run_subdir.patch 1094 BLAKE2B 46b28649ae72b6e158df117dbff356213c14eaccba4547f1740b9b3c3c3469b816868d3b85acc3e32bde081b586e459e8b96f9df02e0f66717f7d88ccf047a66 SHA512 f8040a93e065292cc696ec94fa1076e438bdca5fd5f032062f4f3e8abcbeec9d4f814fb535474608fcbb352f554f5ce82244995977b7f4322b24a125df8a4847 -DIST radeon-profile-20200504.tar.gz 395674 BLAKE2B 6435dfcf9d2ce25789f429f12071cdb1c3f85050654b7fdec45c51a59d562d60369b28cfcd2854dfd5841e4af8f9166afed266e0a48d9010619972b653e0d4a8 SHA512 73f7eb59369af57aba5f067202fb1f772e48260c42ad194876926c29d278022daa86235f8d591bc763b8c6d80682553fe9a55f848137a8ec1de1bf9531c162c6 +AUX radeon-profile-20200824-segfault.patch 1170 BLAKE2B 9dcc28b9ee211be791a4f7e4f3352f17f78de85e20cf46b480dbc066caec9927677dc3da7b71a2c36aa992b57206dfd29622c94fbf58e575428b2e2e7526226a SHA512 6d4942a227a6f5d5886002aaf52cac4735248b2c0ce78e805ef14fa2774f2a546a181add72dc3086bf9e284a409571d261981616c39a3724629361bdc2cbc90f DIST radeon-profile-20200824.tar.gz 395416 BLAKE2B 0f1b9ac59c1e5da97cc0446d32f1fab6435d9049a5dc362d5896849e580382ede745e1759aef3ba659dec0f8f2ae12bb68f0f65313d24f9e3f4cdfa6f7d4887e SHA512 e3e9cf9aa46f81772406f7dc18a3768777b9f2ccdcda18094862183b31857099bf22e2a8b548ade5dedd04a38c8eab7a31127db3b7726adc901c7123a47f81de -EBUILD radeon-profile-20200504-r1.ebuild 1248 BLAKE2B ec70477c0942ac99cb44c40d0e081d60fe7e7d47af5113e2a7062cab86fdfc3edac66e4792b6abeaf17aef745d065bbe10cf8ffa398d7f75e5634c34a7952a2e SHA512 b2ca93c74ed62e3ff271040d725fd2801a3215c5e8898f6855dd3ae41d07fa69212afdc4a77bb5a236d0089d49a09d86635e16c9ab49dc347fd24f2f4832cfa0 +EBUILD radeon-profile-20200824-r1.ebuild 1293 BLAKE2B d454aad98103b7ed8f96e092faa6104340502dfe22ecd16b23c34a6b1aad53cc1cb1ddec03ea20d8fb5f1c486874c7bb6758e397bbccc75c4a264460779c96d5 SHA512 9ec24225772aa8f17466214b3f2424818a1d222590ffd23068dc4147f792d194eed5791cdfd9a952d7b581f9eb2f72a1d2aaeb429f2e96d80b34d6e0b7f19137 EBUILD radeon-profile-20200824.ebuild 1248 BLAKE2B ec70477c0942ac99cb44c40d0e081d60fe7e7d47af5113e2a7062cab86fdfc3edac66e4792b6abeaf17aef745d065bbe10cf8ffa398d7f75e5634c34a7952a2e SHA512 b2ca93c74ed62e3ff271040d725fd2801a3215c5e8898f6855dd3ae41d07fa69212afdc4a77bb5a236d0089d49a09d86635e16c9ab49dc347fd24f2f4832cfa0 EBUILD radeon-profile-99999999.ebuild 1248 BLAKE2B ec70477c0942ac99cb44c40d0e081d60fe7e7d47af5113e2a7062cab86fdfc3edac66e4792b6abeaf17aef745d065bbe10cf8ffa398d7f75e5634c34a7952a2e SHA512 b2ca93c74ed62e3ff271040d725fd2801a3215c5e8898f6855dd3ae41d07fa69212afdc4a77bb5a236d0089d49a09d86635e16c9ab49dc347fd24f2f4832cfa0 MISC metadata.xml 351 BLAKE2B 9bd8e162fadd4298b4cad8421104f7a75fcbfd41afba232789443b55e7a0c5befa8da030dc2fdccddedcab6296f51963158bf822e272182d98bf47dde9e63936 SHA512 0dd848bf98523b34bfb961b5711314bfda5294b2e7292a2b9a38c45c3bbb8f3d71ee22640a00068aadf97ee6aec3bf393a288f9d0b0533b7d5c9fa83aeacc2b1 diff --git a/x11-apps/radeon-profile/files/radeon-profile-20200824-segfault.patch b/x11-apps/radeon-profile/files/radeon-profile-20200824-segfault.patch new file mode 100644 index 000000000000..141dd46d8f79 --- /dev/null +++ b/x11-apps/radeon-profile/files/radeon-profile-20200824-segfault.patch @@ -0,0 +1,33 @@ +From a98da7fd620a9b102a74affe16c0c0daccb97fc4 Mon Sep 17 00:00:00 2001 +From: Haakon Drews <fawz@negentropy.io> +Date: Mon, 4 Jan 2021 02:21:17 +0100 +Subject: [PATCH] Fix segfault when running as regular user + +Bug: https://github.com/marazmista/radeon-profile/issues/244 +Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> +--- + radeon-profile/gpu.cpp | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/radeon-profile/gpu.cpp b/radeon-profile/gpu.cpp +index ccd99d3..f5e32a3 100644 +--- a/radeon-profile/gpu.cpp ++++ b/radeon-profile/gpu.cpp +@@ -69,7 +69,13 @@ void gpu::detectCards() { + + int pciIdx = ueventContents.indexOf(QRegExp("PCI_SLOT_NAME.+")); + if (pciIdx != -1) +- gsi.name = globalStuff::grabSystemInfo("lspci -s " + ueventContents[pciIdx].split('=')[1])[0].split(':')[2].trimmed(); ++ { ++ auto input = globalStuff::grabSystemInfo("lspci -s " + ueventContents[pciIdx].split('=')[1]); ++ if(input.size() < 3) ++ gsi.name = "UNKNOWN"; ++ else ++ gsi.name = input[0].split(':')[2].trimmed(); ++ } + + gpuList.append(gsi); + +-- +2.30.0 + diff --git a/x11-apps/radeon-profile/radeon-profile-20200504-r1.ebuild b/x11-apps/radeon-profile/radeon-profile-20200824-r1.ebuild index d836b3ad1f83..1024baeddcbe 100644 --- a/x11-apps/radeon-profile/radeon-profile-20200504-r1.ebuild +++ b/x11-apps/radeon-profile/radeon-profile-20200824-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -41,6 +41,7 @@ DEPEND=" PATCHES=( "${FILESDIR}/${PN}-20200504-run_subdir.patch" + "${FILESDIR}/${PN}-20200824-segfault.patch" ) src_prepare() { |