[skia] Fixes build error on x64-linux (#36236)

This commit is contained in:
Cheney Wang 2024-01-20 04:40:34 +08:00 committed by GitHub
parent 7d287dbcb9
commit d0b17dbd7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff --git a/src/dawn/common/Mutex.cpp b/src/dawn/common/Mutex.cpp
index b8b891f..84c47af 100644
--- a/src/dawn/common/Mutex.cpp
+++ b/src/dawn/common/Mutex.cpp
@@ -13,6 +13,7 @@
// limitations under the License.
#include "dawn/common/Mutex.h"
+#include <cstdlib>
namespace dawn {
Mutex::~Mutex() = default;

View File

@ -30,6 +30,7 @@ declare_external_from_git(dawn
LICENSE_FILE LICENSE LICENSE_FILE LICENSE
PATCHES PATCHES
dawn-dedup-native-proc-gen.patch dawn-dedup-native-proc-gen.patch
add-cstdlib.patch
) )
declare_external_from_git(dng_sdk declare_external_from_git(dng_sdk
URL "https://android.googlesource.com/platform/external/dng_sdk.git" URL "https://android.googlesource.com/platform/external/dng_sdk.git"

View File

@ -1,7 +1,7 @@
{ {
"name": "skia", "name": "skia",
"version": "0.38.2", "version": "0.38.2",
"port-version": 3, "port-version": 4,
"description": [ "description": [
"Skia is an open source 2D graphics library which provides common APIs that work across a variety of hardware and software platforms.", "Skia is an open source 2D graphics library which provides common APIs that work across a variety of hardware and software platforms.",
"It serves as the graphics engine for Google Chrome and Chrome OS, Android, Mozilla Firefox and Firefox OS, and many other products.", "It serves as the graphics engine for Google Chrome and Chrome OS, Android, Mozilla Firefox and Firefox OS, and many other products.",

View File

@ -7986,7 +7986,7 @@
}, },
"skia": { "skia": {
"baseline": "0.38.2", "baseline": "0.38.2",
"port-version": 3 "port-version": 4
}, },
"skyr-url": { "skyr-url": {
"baseline": "1.13.0", "baseline": "1.13.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "b33b637ea6bf1d04acc4aac659b0238f9d16a0c1",
"version": "0.38.2",
"port-version": 4
},
{ {
"git-tree": "35eec017ed472e7061cc38768bb4aa9168464332", "git-tree": "35eec017ed472e7061cc38768bb4aa9168464332",
"version": "0.38.2", "version": "0.38.2",