From b679c7b1a869f856c4e4f279300e809fc0742849 Mon Sep 17 00:00:00 2001 From: hunny Date: Wed, 25 Sep 2024 16:51:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dassimp=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hunny --- thirdparty/assimp/assimp-5.2.5_ohos_test.patch | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/thirdparty/assimp/assimp-5.2.5_ohos_test.patch b/thirdparty/assimp/assimp-5.2.5_ohos_test.patch index 65ecffc3..5f16d5ab 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); -- Gitee