aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-01-18 15:39:51 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-01-18 15:50:45 +0000
commit5699677747b1a52321aa7c2fc30517d87478cce7 (patch)
tree08c83ff0d84adc275505ffde6bf4319f09b823e1
parent0983bbffe275d18b7b7c576817f3eb57e2504bfe (diff)
downloadports-5699677747b1a52321aa7c2fc30517d87478cce7.tar.gz
ports-5699677747b1a52321aa7c2fc30517d87478cce7.zip
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
-rw-r--r--emulators/yuzu/files/patch-libc++1313
1 files changed, 13 insertions, 0 deletions
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 {