[basisu] : Added ctype.h include as recent MSVC seems to require it explicitly (#49623)

This commit is contained in:
Christian Schulte 2026-01-27 01:52:29 +01:00 committed by GitHub
parent 86ba54bb9e
commit 8f16c65b3e
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/transcoder/basisu_containers_impl.h b/transcoder/basisu_containers_impl.h
index d4d3eb2..3d7aadd 100644
--- a/transcoder/basisu_containers_impl.h
+++ b/transcoder/basisu_containers_impl.h
@@ -1,6 +1,8 @@
// basisu_containers_impl.h
// Do not include directly
+#include <ctype.h>
+
#ifdef _MSC_VER
#pragma warning (disable:4127) // warning C4127: conditional expression is constant
#endif

View File

@ -18,6 +18,7 @@ vcpkg_from_github(
export-cmake-config.diff
skip-strip.diff
devendor-zstd.diff
add_ctype.diff
)
file(REMOVE_RECURSE "${SOURCE_PATH}/zstd")

View File

@ -1,7 +1,7 @@
{
"name": "basisu",
"version": "1.60",
"port-version": 2,
"port-version": 3,
"description": "Basis Universal is a supercompressed GPU texture and video compression format that outputs a highly compressed intermediate file format (.basis) that can be quickly transcoded to a wide variety of GPU texture compression formats.",
"homepage": "https://github.com/BinomialLLC/basis_universal",
"license": null,

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "df3b41875494dda742bc268c648edb99c0a39828",
"version": "1.60",
"port-version": 3
},
{
"git-tree": "4fdb1c26742dee24aa7aff9f38cc3bac34c37473",
"version": "1.60",

View File

@ -634,7 +634,7 @@
},
"basisu": {
"baseline": "1.60",
"port-version": 2
"port-version": 3
},
"bbalouki-itch": {
"baseline": "1.1.0",