[woff2] Fix gcc 15 missing header issue (#45132)

This commit is contained in:
Daniel Bertalan 2025-04-21 08:10:50 +02:00 committed by GitHub
parent a71b02ed03
commit 881dfc7d09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 21 additions and 2 deletions

View File

@ -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 <stdint.h>
+
#include <algorithm>
#include <cstring>
#include <memory>

View File

@ -10,6 +10,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
0001-unofficial-brotli.patch
0002-stdint-include.patch
)
vcpkg_cmake_configure(

View File

@ -1,7 +1,7 @@
{
"name": "woff2",
"version": "1.0.2",
"port-version": 4,
"port-version": 5,
"description": "font compression reference code",
"dependencies": [
"brotli",

View File

@ -10038,7 +10038,7 @@
},
"woff2": {
"baseline": "1.0.2",
"port-version": 4
"port-version": 5
},
"wolf-midi": {
"baseline": "1.0.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5a12f112e02313670c8e24d72d72a83ce74521b4",
"version": "1.0.2",
"port-version": 5
},
{
"git-tree": "fbd2207ad0ad1e7e52b421b86f96deff9ed7ec65",
"version": "1.0.2",