Skip to content

[libmagic] Update to 5.48 - #53283

Merged
Billy O'Neal (BillyONeal) merged 3 commits into
microsoft:masterfrom
SunBlack:libmagic
Aug 10, 2026
Merged

[libmagic] Update to 5.48#53283
Billy O'Neal (BillyONeal) merged 3 commits into
microsoft:masterfrom
SunBlack:libmagic

Conversation

@SunBlack

Copy link
Copy Markdown
Contributor
  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version, or no changes were necessary.
  • Any fixed CI baseline and CI feature baseline entries are removed from that file, or no entries needed to be changed.
  • All patch files in the port are applied and succeed.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Exactly one version is added in each modified versions file.

SunBlack (SunBlack) and others added 2 commits August 7, 2026 00:59
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@BillyONeal Billy O'Neal (BillyONeal) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update! GPT 5.6 Sol reports:

The 5.48 public header is not consumable with MSVC. Upstream added ssize_t magic_getmaxparam(int), but the port's Windows typedef remains private to src/file.h. Consequently, including <magic.h> fails with MSVC error C2061.

Would you consider SunBlack#31 ?

@BillyONeal
Billy O'Neal (BillyONeal) marked this pull request as draft August 8, 2026 05:49
[libmagic] Fix public header on MSVC
@SunBlack
SunBlack (SunBlack) marked this pull request as ready for review August 9, 2026 20:54

@BillyONeal Billy O'Neal (BillyONeal) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@BillyONeal
Billy O'Neal (BillyONeal) merged commit e1ddd4f into microsoft:master Aug 10, 2026
16 checks passed
@SunBlack
SunBlack (SunBlack) deleted the libmagic branch August 10, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants