Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2023 15:51:00 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5699677747b1 - main - emulators/yuzu: unbreak on FreeBSD < 14 after 2b1bfad1edc3
Message-ID:  <202301181551.30IFp0ef089542@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5699677747b1a52321aa7c2fc30517d87478cce7

commit 5699677747b1a52321aa7c2fc30517d87478cce7
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:50:45 +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
---
 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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301181551.30IFp0ef089542>