freebsd-ports/emulators/citra/files/patch-externals_teakra_src_test.h
Jan Beich ad805aa328 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
2019-01-15 00:52:22 +00:00

13 lines
359 B
C++

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);