diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-06-30 06:11:00 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2020-06-30 06:11:00 +0000 |
commit | 24cf6b180fb12669090eb36965cdcdc0f0b47731 (patch) | |
tree | b614e01a4d90ffb7b76aa4ef2e7768412d0fc2c3 /emulators | |
parent | cf7aa5ea2c27fb12781140c22d6bddc17f05ed9d (diff) | |
download | ports-24cf6b180fb12669090eb36965cdcdc0f0b47731.tar.gz ports-24cf6b180fb12669090eb36965cdcdc0f0b47731.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/rpcs3/files/patch-libc++8 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/emulators/rpcs3/files/patch-libc++8 b/emulators/rpcs3/files/patch-libc++8 index 03042ff79a6a..586f970707a4 100644 --- a/emulators/rpcs3/files/patch-libc++8 +++ b/emulators/rpcs3/files/patch-libc++8 @@ -2,6 +2,7 @@ Drop after FreeBSD 11.3/12.1 EOL. https://reviews.llvm.org/rL359211 https://reviews.llvm.org/rL364862 +https://reviews.llvm.org/rL366170 rpcs3/Emu/Io/PadHandler.cpp:191:27: error: no member named 'lerp' in namespace 'std' const float pos = std::lerp(0.13f, 1.f, (mag - dzRange) / (1 - dzRange)); @@ -43,6 +44,27 @@ rpcs3/Emu/Cell/PPUAnalyser.h:1241:35: error: no member named 'countl_zero' in na const u64 mix = ~0ull >> std::countl_zero(min ^ max); ~~~~~^ +Utilities/bin_patch.cpp:788:25: error: no member named 'contains' in 'std::__1::set<std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::basic_string<char> > >' + if (m_applied_groups.contains(patch.patch_group)) + ~~~~~~~~~~~~~~~~ ^ +rpcs3/rpcs3qt/patch_manager_dialog.cpp:338:120: error: no member named 'contains' in 'std::__1::set<std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::basic_string<char> > >' + (m_owned_games.find(serial) == m_owned_games.end() || (app_version != patch_key::all && !m_owned_games.at(serial).contains(app_version)))) + ~~~~~~~~~~~~~~~~~~~~~~~~ ^ + +--- Utilities/bin_patch.cpp.orig 2020-06-29 22:45:17 UTC ++++ Utilities/bin_patch.cpp +@@ -785,7 +785,11 @@ std::size_t patch_engine::apply_patch(const std::strin + { + if (!patch.patch_group.empty()) + { ++#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 9000 ++ if (m_applied_groups.find(patch.patch_group) != m_applied_groups.end()) ++#else + if (m_applied_groups.contains(patch.patch_group)) ++#endif + { + continue; + } --- Utilities/types.h.orig 2020-04-16 09:59:19 UTC +++ Utilities/types.h @@ -102,6 +102,203 @@ namespace std @@ -249,3 +271,17 @@ rpcs3/Emu/Cell/PPUAnalyser.h:1241:35: error: no member named 'countl_zero' in na using schar = signed char; using uchar = unsigned char; using ushort = unsigned short; +--- rpcs3/rpcs3qt/patch_manager_dialog.cpp.orig 2020-06-29 22:45:17 UTC ++++ rpcs3/rpcs3qt/patch_manager_dialog.cpp +@@ -335,7 +335,11 @@ void patch_manager_dialog::filter_patches(const QStrin + const std::string app_version = item->data(0, app_version_role).toString().toStdString(); + + if (serial != patch_key::all && ++#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 9000 ++ (m_owned_games.find(serial) == m_owned_games.end() || (app_version != patch_key::all && !(m_owned_games.at(serial).find(app_version) != m_owned_games.at(serial).end())))) ++#else + (m_owned_games.find(serial) == m_owned_games.end() || (app_version != patch_key::all && !m_owned_games.at(serial).contains(app_version)))) ++#endif + { + item->setHidden(true); + return 0; |