diff --git a/thirdparty/assimp/assimp-5.2.5_ohos_test.patch b/thirdparty/assimp/assimp-5.2.5_ohos_test.patch index 65ecffc3064482697091589335074096ac4a9a68..5f16d5ab5b34d06a75663078ef0a43d0971a1af6 100644 --- a/thirdparty/assimp/assimp-5.2.5_ohos_test.patch +++ b/thirdparty/assimp/assimp-5.2.5_ohos_test.patch @@ -1,12 +1,12 @@ -diff -Nura assimp-5.2.5/test/unit/UnitTestFileGenerator.h assimp-5.2.5_ohos_test.path/test/unit/UnitTestFileGenerator.h +diff -Naru assimp-5.2.5/test/unit/UnitTestFileGenerator.h assimp-5.2.5_ohos_test.dir/test/unit/UnitTestFileGenerator.h --- assimp-5.2.5/test/unit/UnitTestFileGenerator.h 2022-09-08 11:13:43.000000000 -0700 -+++ assimp-5.2.5_ohos_test.path/test/unit/UnitTestFileGenerator.h 2024-08-17 01:46:20.900080265 -0700 -@@ -46,7 +46,7 @@ - - #if defined(_MSC_VER) - #include --#define TMP_PATH "./" -+#define TMP_PATH "/data/local/tmp" ++++ assimp-5.2.5_ohos_test.dir/test/unit/UnitTestFileGenerator.h 2024-09-24 18:45:20.435954667 -0700 +@@ -60,7 +60,7 @@ + return fs; + } + #elif defined(__GNUC__) || defined(__clang__) +-#define TMP_PATH "/tmp/" ++#define TMP_PATH "/data/local/tmp/" inline FILE* MakeTmpFile(char* tmplate) { - auto pathtemplate = _mktemp(tmplate); + auto fd = mkstemp(tmplate);