diff --git a/games-emulation/rpcs3/files/rpcs3-9999-system-stb.patch b/games-emulation/rpcs3/files/rpcs3-9999-system-stb.patch deleted file mode 100644 index 43e39720c0..0000000000 --- a/games-emulation/rpcs3/files/rpcs3-9999-system-stb.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt -index 6c49a889b..c749044fb 100644 ---- a/3rdparty/CMakeLists.txt -+++ b/3rdparty/CMakeLists.txt -@@ -125,7 +125,8 @@ else() - endif() - - # stblib --add_subdirectory(stblib) -+pkg_check_modules(stb REQUIRED IMPORTED_TARGET GLOBAL stb) -+add_library(3rdparty::stblib ALIAS PkgConfig::stb) - - # DiscordRPC - add_subdirectory(discord-rpc) -@@ -373,7 +374,6 @@ add_library(3rdparty::yaml-cpp ALIAS yaml-cpp) - add_library(3rdparty::hidapi ALIAS 3rdparty_hidapi) - add_library(3rdparty::libpng ALIAS ${LIBPNG_TARGET}) - add_library(3rdparty::opengl ALIAS 3rdparty_opengl) --add_library(3rdparty::stblib ALIAS 3rdparty_stblib) - add_library(3rdparty::discordRPC ALIAS 3rdparty_discordRPC) - add_library(3rdparty::faudio ALIAS ${FAUDIO_TARGET}) - add_library(3rdparty::libevdev ALIAS ${LIBEVDEV_TARGET}) diff --git a/games-emulation/rpcs3/files/rpcs3-0.0.41-system-stb.patch b/games-emulation/rpcs3/files/rpcs3-system-stb.patch similarity index 100% rename from games-emulation/rpcs3/files/rpcs3-0.0.41-system-stb.patch rename to games-emulation/rpcs3/files/rpcs3-system-stb.patch diff --git a/games-emulation/rpcs3/rpcs3-0.0.41.ebuild b/games-emulation/rpcs3/rpcs3-0.0.41.ebuild index ab6d16e963..7fd043c240 100644 --- a/games-emulation/rpcs3/rpcs3-0.0.41.ebuild +++ b/games-emulation/rpcs3/rpcs3-0.0.41.ebuild @@ -82,7 +82,7 @@ QA_PREBUILT="usr/share/rpcs3/test/.*" QA_WX_LOAD="usr/share/rpcs3/test/*" PATCHES=( - "${FILESDIR}/${P}-system-stb.patch" + "${FILESDIR}/${PN}-system-stb.patch" ) src_prepare() { diff --git a/games-emulation/rpcs3/rpcs3-9999.ebuild b/games-emulation/rpcs3/rpcs3-9999.ebuild index ab6d16e963..7fd043c240 100644 --- a/games-emulation/rpcs3/rpcs3-9999.ebuild +++ b/games-emulation/rpcs3/rpcs3-9999.ebuild @@ -82,7 +82,7 @@ QA_PREBUILT="usr/share/rpcs3/test/.*" QA_WX_LOAD="usr/share/rpcs3/test/*" PATCHES=( - "${FILESDIR}/${P}-system-stb.patch" + "${FILESDIR}/${PN}-system-stb.patch" ) src_prepare() {