emulators/yuzu: unbreak on FreeBSD < 14 after 2b1bfad1ed

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
This commit is contained in:
Jan Beich 2023-01-18 15:39:51 +00:00
parent 0983bbffe2
commit 5699677747

View File

@ -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 {