[libflac] update to 1.4.3 (#34141)

This commit is contained in:
Jia Yue Hua 2023-10-03 11:23:53 +08:00 committed by GitHub
parent 3638598245
commit 2028f27543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 20 deletions

View File

@ -2,10 +2,9 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO xiph/flac
REF "${VERSION}"
SHA512 1b4992024dffe83916f0da8726f73bf932a52d8c3346c35ab1ee81b82d68ff01faa8c477aa29d7099a09611664dee723db5be3087f709218c33e564f77810013
SHA512 3571467a1d557bc03eade2ae9bb1a72fd94a89222e6ad9563078d646aac0b65ed1c3d829fb45dd3a6cdca806f7ba3b6393f0ce6571b43651959acaa1c2106396
HEAD_REF master
PATCHES
uwp-library-console.patch
fix-compile-options.patch
)

View File

@ -1,16 +0,0 @@
diff --git a/src/share/win_utf8_io/win_utf8_io.c b/src/share/win_utf8_io/win_utf8_io.c
index bbb6a74a..8b20bbb7 100644
--- a/src/share/win_utf8_io/win_utf8_io.c
+++ b/src/share/win_utf8_io/win_utf8_io.c
@@ -110,7 +110,11 @@ int get_utf8_argv(int *argc, char ***argv)
char **utf8argv;
int ret, i;
+#if defined (WINAPI_FAMILY_PARTITION) && !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
+ if ((handle = LoadPackagedLibrary("msvcrt.dll", 0)) == NULL) return 1;
+#else
if ((handle = LoadLibraryW(L"msvcrt.dll")) == NULL) return 1;
+#endif
if ((wgetmainargs = (wgetmainargs_t)GetProcAddress(handle, "__wgetmainargs")) == NULL) {
FreeLibrary(handle);
return 1;

View File

@ -1,6 +1,6 @@
{
"name": "libflac",
"version": "1.4.2",
"version": "1.4.3",
"description": "Library for manipulating FLAC files",
"homepage": "https://xiph.org/flac/",
"license": "BSD-3-Clause",

View File

@ -4145,7 +4145,7 @@
"port-version": 0
},
"libflac": {
"baseline": "1.4.2",
"baseline": "1.4.3",
"port-version": 0
},
"libfontenc": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b03480bcc5f27cdc9a5f51fef012f880f1b0bf8d",
"version": "1.4.3",
"port-version": 0
},
{
"git-tree": "d5f68de2a2c015247322b369a6b94052135df51a",
"version": "1.4.2",