aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2019-01-15 08:52:22 +0800
committerjbeich <jbeich@FreeBSD.org>2019-01-15 08:52:22 +0800
commit34702aaaf59665ac5f63653cc5654f14897fc75d (patch)
treee07e0862e3c87b411cd11d1faa8e33b4e249b588 /emulators
parentea0ff3157ca197e67fd55de0bc56f352016529d4 (diff)
downloadfreebsd-ports-gnome-34702aaaf59665ac5f63653cc5654f14897fc75d.tar.gz
freebsd-ports-gnome-34702aaaf59665ac5f63653cc5654f14897fc75d.tar.zst
freebsd-ports-gnome-34702aaaf59665ac5f63653cc5654f14897fc75d.zip
emulators/citra: unbreak on i386 after r490096
In file included from teakra/src/test_generator.cpp:10: teakra/src/./test.h:37:1: fatal error: static_assert failed static_assert(sizeof(TestCase) == 4312); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ Reported by: pkg-fallout
Diffstat (limited to 'emulators')
-rw-r--r--emulators/citra/files/patch-externals_teakra_src_test.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/citra/files/patch-externals_teakra_src_test.h b/emulators/citra/files/patch-externals_teakra_src_test.h
new file mode 100644
index 000000000000..96ceb0b0b4af
--- /dev/null
+++ b/emulators/citra/files/patch-externals_teakra_src_test.h
@@ -0,0 +1,13 @@
+https://github.com/wwylele/teakra/pull/35
+
+--- externals/teakra/src/test.h.orig 2018-12-21 16:34:51 UTC
++++ externals/teakra/src/test.h
+@@ -31,7 +31,7 @@ static_assert(std::is_trivially_copyable_v<State>);
+
+ struct TestCase {
+ State before, after;
+- u16 opcode, expand;
++ u16 opcode, expand, unused;
+ };
+
+ static_assert(sizeof(TestCase) == 4312);