git: 4f8b07611484 - 2023Q1 - emulators/yuzu: unbreak on FreeBSD < 14 after 2b1bfad1edc3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Jan 2023 15:51:09 UTC
The branch 2023Q1 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4f8b076114842dceee72d451ae714de4dd96b53f
commit 4f8b076114842dceee72d451ae714de4dd96b53f
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-01-18 15:39:51 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-01-18 15:51:06 +0000
emulators/yuzu: unbreak on FreeBSD < 14 after 2b1bfad1edc3
externals/dynarmic/src/dynarmic/frontend/A64/translate/impl/simd_table_lookup.cpp:14:31: error: implicit instantiation of undefined template 'std::vector<Dynarmic::IR::TypedValue<Dynarmic::IR::Type::U128>>'
std::vector<IR::U128> result;
^
/usr/include/c++/v1/iosfwd:251:28: note: template is declared here
class _LIBCPP_TEMPLATE_VIS vector;
^
externals/dynarmic/src/dynarmic/frontend/A64/translate/impl/simd_table_lookup.cpp:13:34: error: no matching member function for call to 'VectorTable'
const IR::Table table = v.ir.VectorTable([&] {
~~~~~^~~~~~~~~~~
externals/dynarmic/src/dynarmic/../dynarmic/ir/ir_emitter.h:313:11: note: candidate function not viable: cannot convert argument of incomplete type 'void' to 'std::vector<U64>' (aka 'vector<TypedValue<Type::U64>>') for 1st argument
Table VectorTable(std::vector<U64> values);
^
externals/dynarmic/src/dynarmic/../dynarmic/ir/ir_emitter.h:314:11: note: candidate function not viable: cannot convert argument of incomplete type 'void' to 'std::vector<U128>' (aka 'vector<TypedValue<Type::U128>>') for 1st argument
Table VectorTable(std::vector<U128> values);
^
Reported by: pkg-fallout
(cherry picked from commit 5699677747b1a52321aa7c2fc30517d87478cce7)
---
emulators/yuzu/files/patch-libc++13 | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/emulators/yuzu/files/patch-libc++13 b/emulators/yuzu/files/patch-libc++13
new file mode 100644
index 000000000000..c37d22530975
--- /dev/null
+++ b/emulators/yuzu/files/patch-libc++13
@@ -0,0 +1,13 @@
+https://github.com/merryhime/dynarmic/pull/742
+
+--- externals/dynarmic/src/dynarmic/frontend/A64/translate/impl/simd_table_lookup.cpp.orig 2023-01-15 02:29:49 UTC
++++ externals/dynarmic/src/dynarmic/frontend/A64/translate/impl/simd_table_lookup.cpp
+@@ -3,6 +3,8 @@
+ * SPDX-License-Identifier: 0BSD
+ */
+
++#include <vector>
++
+ #include "dynarmic/frontend/A64/translate/impl/impl.h"
+
+ namespace Dynarmic::A64 {