commit:     7ebc52379e079689b696b315e439315bf2430898
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 13 01:54:14 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug 14 05:02:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ebc5237

games-emulation/fceux: fix cmake 4 false positive

There is a directory literally called "attic". It is full of files that
weren't deleted from a VCS, just moved into the trashbin. We should NOT
care about these files, but, they trigger QA check false positives for
cmake 4.

Delete them wholesale, so QA greps don't fall over on an unused
CMakeLists.txt.

Closes: https://bugs.gentoo.org/958954
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 games-emulation/fceux/fceux-2.6.6-r2.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/games-emulation/fceux/fceux-2.6.6-r2.ebuild 
b/games-emulation/fceux/fceux-2.6.6-r2.ebuild
index 3fd7da408194..881a675d1088 100644
--- a/games-emulation/fceux/fceux-2.6.6-r2.ebuild
+++ b/games-emulation/fceux/fceux-2.6.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -39,6 +39,11 @@ PATCHES=(
 )
 
 src_prepare() {
+       # It is literally called "attic". It is full of files that weren't 
deleted
+       # from a VCS, just moved into the trashbin. We should NOT care about 
these
+       # files, but, they trigger QA check false positives for cmake 4.
+       rm -r attic/ || die "failed to remove packrat files in attic/"
+
        cmake_src_prepare
 
        local use

Reply via email to