mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
games-emulation/rpcs3: Update hidapi unbundling regex
One of the hidapi unbundling steps in the ebuild is to replace
"hidapi.h" with <hidapi/hidapi.h>, but that include line was recently
changed from "hidapi.h" to <hidapi.h> 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:
38289f3bc1
I am just updating the regex to look for < and > instead.
Signed-off-by: Erica Nebula <EricaNebula@Proton.me>
This commit is contained in:
@@ -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:":<hidapi/:;s/"/>/}' rpcs3/Input/hid_pad_handler.h || die
|
||||
sed -i -e '/hidapi\.h/{s:<:<hidapi/:;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
|
||||
|
||||
Reference in New Issue
Block a user