From 881dfc7d09fc040e802d912ab0dd65200f9d547f Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Mon, 21 Apr 2025 08:10:50 +0200 Subject: [PATCH] [woff2] Fix gcc 15 missing header issue (#45132) --- ports/woff2/0002-stdint-include.patch | 13 +++++++++++++ ports/woff2/portfile.cmake | 1 + ports/woff2/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/w-/woff2.json | 5 +++++ 5 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 ports/woff2/0002-stdint-include.patch diff --git a/ports/woff2/0002-stdint-include.patch b/ports/woff2/0002-stdint-include.patch new file mode 100644 index 0000000000..43f7fc85e5 --- /dev/null +++ b/ports/woff2/0002-stdint-include.patch @@ -0,0 +1,13 @@ +diff --git a/include/woff2/output.h b/include/woff2/output.h +index dc78ccf..b12d538 100644 +--- a/include/woff2/output.h ++++ b/include/woff2/output.h +@@ -9,6 +9,8 @@ + #ifndef WOFF2_WOFF2_OUT_H_ + #define WOFF2_WOFF2_OUT_H_ + ++#include ++ + #include + #include + #include diff --git a/ports/woff2/portfile.cmake b/ports/woff2/portfile.cmake index b392fed7f6..f70fdc3bc1 100644 --- a/ports/woff2/portfile.cmake +++ b/ports/woff2/portfile.cmake @@ -10,6 +10,7 @@ vcpkg_from_github( HEAD_REF master PATCHES 0001-unofficial-brotli.patch + 0002-stdint-include.patch ) vcpkg_cmake_configure( diff --git a/ports/woff2/vcpkg.json b/ports/woff2/vcpkg.json index fa3ece813b..c43c6932c7 100644 --- a/ports/woff2/vcpkg.json +++ b/ports/woff2/vcpkg.json @@ -1,7 +1,7 @@ { "name": "woff2", "version": "1.0.2", - "port-version": 4, + "port-version": 5, "description": "font compression reference code", "dependencies": [ "brotli", diff --git a/versions/baseline.json b/versions/baseline.json index 1f97f91d3c..d709c01980 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -10038,7 +10038,7 @@ }, "woff2": { "baseline": "1.0.2", - "port-version": 4 + "port-version": 5 }, "wolf-midi": { "baseline": "1.0.1", diff --git a/versions/w-/woff2.json b/versions/w-/woff2.json index 60f4d2454c..f87ff38d3c 100644 --- a/versions/w-/woff2.json +++ b/versions/w-/woff2.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "5a12f112e02313670c8e24d72d72a83ce74521b4", + "version": "1.0.2", + "port-version": 5 + }, { "git-tree": "fbd2207ad0ad1e7e52b421b86f96deff9ed7ec65", "version": "1.0.2",