commit: 57e79aad538317d8bed821df90f21b9e6a0902fc Author: orbea <orbea <AT> riseup <DOT> net> AuthorDate: Sat Aug 9 23:00:05 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Sep 6 15:27:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e79aad
games-emulation/jgrf: add nsf detection Trivial patch to automatically detect files with the .nsf extension for games-emulation/nestopia-jg-1.53.2. Upstream-Commit: https://gitlab.com/jgemu/jgrf/-/commit/b0cadbd7829c76e4fdb1a99961a17d4cf23d31a4 Signed-off-by: orbea <orbea <AT> riseup.net> Part-of: https://github.com/gentoo/gentoo/pull/43402 Signed-off-by: Sam James <sam <AT> gentoo.org> games-emulation/jgrf/files/jgrf-1.2.1-nsf.patch | 23 ++++++++++++++++++++++ .../{jgrf-1.2.1.ebuild => jgrf-1.2.1-r1.ebuild} | 4 ++++ 2 files changed, 27 insertions(+) diff --git a/games-emulation/jgrf/files/jgrf-1.2.1-nsf.patch b/games-emulation/jgrf/files/jgrf-1.2.1-nsf.patch new file mode 100644 index 000000000000..0ccf8a9d4b86 --- /dev/null +++ b/games-emulation/jgrf/files/jgrf-1.2.1-nsf.patch @@ -0,0 +1,23 @@ +https://gitlab.com/jgemu/jgrf/-/commit/b0cadbd7829c76e4fdb1a99961a17d4cf23d31a4 + +From b0cadbd7829c76e4fdb1a99961a17d4cf23d31a4 Mon Sep 17 00:00:00 2001 +From: Rupert Carmichael <[email protected]> +Date: Tue, 5 Aug 2025 01:15:20 -0400 +Subject: [PATCH] detect: Add NSF detection + +--- + src/detect.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/detect.c b/src/detect.c +index 8522f4c..025d057 100644 +--- a/src/detect.c ++++ b/src/detect.c +@@ -94,6 +94,7 @@ static extmap_t extmap[] = { + {"nes", "nes"}, + {"ngc", "ngp"}, + {"ngp", "ngp"}, ++ {"nsf", "nes"}, + {"pce", "pce"}, + {"rom", "coleco"}, + {"sfc", "snes"}, diff --git a/games-emulation/jgrf/jgrf-1.2.1.ebuild b/games-emulation/jgrf/jgrf-1.2.1-r1.ebuild similarity index 96% rename from games-emulation/jgrf/jgrf-1.2.1.ebuild rename to games-emulation/jgrf/jgrf-1.2.1-r1.ebuild index e236b8e6e26c..45b5bfba8159 100644 --- a/games-emulation/jgrf/jgrf-1.2.1.ebuild +++ b/games-emulation/jgrf/jgrf-1.2.1-r1.ebuild @@ -31,6 +31,10 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( + "${FILESDIR}"/${P}-nsf.patch +) + src_compile() { emake \ CC="$(tc-getCC)" \
