From 491864047a6eb7a9e891a4f14f4e00bd105f1096 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Wed, 1 Jan 2025 15:14:32 +0100 Subject: [PATCH] Another patch fix --- packages/a/assimp/patches/5.4.3/fix_mingw.patch | 2 +- packages/a/assimp/xmake.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/a/assimp/patches/5.4.3/fix_mingw.patch b/packages/a/assimp/patches/5.4.3/fix_mingw.patch index 3833a5aca8e..8bb435999b8 100644 --- a/packages/a/assimp/patches/5.4.3/fix_mingw.patch +++ b/packages/a/assimp/patches/5.4.3/fix_mingw.patch @@ -13,4 +13,4 @@ index e423eae4f8..35bbb67a5a 100644 + int err = _fstat(_fileno(mFile), &fileStat); if (0 != err) return 0; - mCachedSize = (size_t)(fileStat.st_size); \ No newline at end of file + mCachedSize = (size_t)(fileStat.st_size); diff --git a/packages/a/assimp/xmake.lua b/packages/a/assimp/xmake.lua index 6812b595ab4..f78fc1a5153 100644 --- a/packages/a/assimp/xmake.lua +++ b/packages/a/assimp/xmake.lua @@ -25,7 +25,7 @@ package("assimp") add_patches("v5.2.3", path.join(os.scriptdir(), "patches", "5.2.1", "fix_zlib_filefunc_def.patch"), "a9f8a9aa1975888ea751b80c8268296dee901288011eeb1addf518eac40b71b1") add_patches("v5.2.3", path.join(os.scriptdir(), "patches", "5.2.3", "cmake_static_crt.patch"), "3872a69976055bed9e40814e89a24a3420692885b50e9f9438036e8d809aafb4") add_patches("v5.2.4", path.join(os.scriptdir(), "patches", "5.2.4", "fix_x86_windows_build.patch"), "becb4039c220678cf1e888e3479f8e68d1964c49d58f14c5d247c86b4a5c3293") - add_patches("v5.4.3", path.join(os.scriptdir(), "patches", "5.4.3", "fix_mingw.patch"), "5feefe5d26caeb244850e7542541ee00b6e790dda031d7676b59633382c70edd") + add_patches("v5.4.3", path.join(os.scriptdir(), "patches", "5.4.3", "fix_mingw.patch"), "18d14a4b4cbdc92553f423c69b5b47786cbd28bdccdc8ccd6200b9aafb499c6a") if not is_host("windows") then add_extsources("pkgconfig::assimp")