From bcf80204d63cf61dbe49de5e3fcc81fbc0113705 Mon Sep 17 00:00:00 2001 From: wuzhiming Date: Fri, 8 Nov 2024 10:09:35 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20patch=20?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuzhiming --- attachment/repos/swiftshader.patch | 3 ++- attachment/scripts/config.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/attachment/repos/swiftshader.patch b/attachment/repos/swiftshader.patch index e1606d8da2..ca2a1fd728 100644 --- a/attachment/repos/swiftshader.patch +++ b/attachment/repos/swiftshader.patch @@ -95,4 +95,5 @@ index 30897f020..a6c3031c2 100644 - pthread_setaffinity_np(thread, sizeof(cpu_set_t), &cpuset); #elif defined(__FreeBSD__) cpuset_t cpuset; - CPU_ZERO(&cpuset); \ No newline at end of file + CPU_ZERO(&cpuset); + \ No newline at end of file diff --git a/attachment/scripts/config.json b/attachment/scripts/config.json index 0e768859f2..62ec1a4f35 100644 --- a/attachment/scripts/config.json +++ b/attachment/scripts/config.json @@ -73,8 +73,8 @@ }, { "name": "swiftshader", - "target": "./src/third_party/swiftshader", + "target": "third_party/swiftshader", "type": "patch", - "file_path": "../../flutter/attachment/repos/swiftshader.patch" + "file_path": "flutter/attachment/repos/swiftshader.patch" } ] -- Gitee From bd9864950dd8dc1b2bb70bf24edc364967d3c0dc Mon Sep 17 00:00:00 2001 From: wuzhiming Date: Fri, 8 Nov 2024 10:38:40 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20patch=20?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuzhiming --- attachment/repos/swiftshader.patch | 1 - attachment/scripts/config_pre.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/attachment/repos/swiftshader.patch b/attachment/repos/swiftshader.patch index ca2a1fd728..4aec111634 100644 --- a/attachment/repos/swiftshader.patch +++ b/attachment/repos/swiftshader.patch @@ -96,4 +96,3 @@ index 30897f020..a6c3031c2 100644 #elif defined(__FreeBSD__) cpuset_t cpuset; CPU_ZERO(&cpuset); - \ No newline at end of file diff --git a/attachment/scripts/config_pre.json b/attachment/scripts/config_pre.json index 0e768859f2..62ec1a4f35 100644 --- a/attachment/scripts/config_pre.json +++ b/attachment/scripts/config_pre.json @@ -73,8 +73,8 @@ }, { "name": "swiftshader", - "target": "./src/third_party/swiftshader", + "target": "third_party/swiftshader", "type": "patch", - "file_path": "../../flutter/attachment/repos/swiftshader.patch" + "file_path": "flutter/attachment/repos/swiftshader.patch" } ] -- Gitee