void-packages/srcpkgs/ppsspp/patches/unittest.patch

21 lines
654 B
Diff

--- unittest/TestVertexJit.cpp 2021-03-09 23:26:11.430146058 +0100
+++ - 2021-03-09 23:30:50.634618762 +0100
@@ -15,6 +15,7 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
+#include <math.h>
#include "Common/Common.h"
#include "Common/TimeUtil.h"
#include "Core/Config.h"
--- CMakeLists.txt 2021-03-02 21:50:51.000000000 +0100
+++ - 2021-03-09 23:37:13.803584455 +0100
@@ -2100,6 +2100,7 @@
if(UNITTEST)
add_executable(unitTest
+ unittest/TestShaderGenerators.cpp
unittest/UnitTest.cpp
unittest/TestArmEmitter.cpp
unittest/TestArm64Emitter.cpp