From 678d19a3b702de3980205a68b529491e9e3a35aa Mon Sep 17 00:00:00 2001 From: Erica Nebula Date: Tue, 3 Jun 2025 22:32:30 -0500 Subject: [PATCH] games-emulation/rpcs3: Update hidapi unbundling regex One of the hidapi unbundling steps in the ebuild is to replace "hidapi.h" with , but that include line was recently changed from "hidapi.h" to so the regex does nothing because it specifically looks for and replaces the quotes. This leads to a compile error claiming hidapi.h could not be found. The change was made in this commit: https://github.com/RPCS3/rpcs3/commit/38289f3bc1d711aa8b9d801668f8c9b8059d35df I am just updating the regex to look for < and > instead. Signed-off-by: Erica Nebula --- games-emulation/rpcs3/rpcs3-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/rpcs3/rpcs3-9999.ebuild b/games-emulation/rpcs3/rpcs3-9999.ebuild index f3d4960c79..f91c54de26 100644 --- a/games-emulation/rpcs3/rpcs3-9999.ebuild +++ b/games-emulation/rpcs3/rpcs3-9999.ebuild @@ -109,7 +109,7 @@ src_prepare() { sed -i -e '/find_program(CCACHE_FOUND ccache)/d' CMakeLists.txt || die # Unbundle hidapi - sed -i -e '/hidapi\.h/{s:":/}' rpcs3/Input/hid_pad_handler.h || die + sed -i -e '/hidapi\.h/{s:<:/>/}' rpcs3/Input/hid_pad_handler.h || die sed -i -e '/hidapi/d' 3rdparty/CMakeLists.txt || die sed -i -e '1afind_package(PkgConfig REQUIRED)\npkg_check_modules(hidapi-hidraw REQUIRED hidapi-hidraw)' \ rpcs3/CMakeLists.txt || die