Skip to content

Conversation

@BertalanD
Copy link
Contributor

GCC 15 reduced some transitive includes in libstdc++, so stdint.h is no longer being pulled in to woff2's output.h, causing a compile error on its use of uint8_t.

There is an open pull request with the fix (google/woff2#176), but upstream maintainers haven't responded to it; let's patch it ourselves.

  • 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.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

GCC 15 reduced some transitive includes in libstdc++, so `stdint.h` is
no longer being pulled in to woff2's `output.h`, causing a compile error
on its use of `uint8_t`.

There is an open pull request with the fix
(google/woff2#176), but upstream maintainers
haven't responded to it; let's patch it ourselves.
#define WOFF2_WOFF2_OUT_H_

+#include <stdint.h>
+
Copy link
Contributor

Choose a reason for hiding this comment

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

Upstream PR: google/woff2#176.

@Mengna-Li Mengna-Li added category:port-bug The issue is with a library, which is something the port should already support info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. labels Apr 21, 2025
Copy link
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

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

Thanks!

@BillyONeal BillyONeal merged commit 881dfc7 into microsoft:master Apr 21, 2025
18 checks passed
AtkinsSJ added a commit to AtkinsSJ/ladybird that referenced this pull request Apr 22, 2025
This includes a patch to woff2, which lets it build on GCC 15.
See microsoft/vcpkg#45132
AtkinsSJ added a commit to AtkinsSJ/ladybird that referenced this pull request Apr 22, 2025
This includes a patch to woff2, which lets it build on GCC 15.
See microsoft/vcpkg#45132

This has had a very minor effect on the anti-aliasing in one screenshot
test, so I've rebaselined it.
AtkinsSJ added a commit to AtkinsSJ/ladybird that referenced this pull request Apr 22, 2025
This includes a patch to woff2, which lets it build on GCC 15.
See microsoft/vcpkg#45132
AtkinsSJ added a commit to AtkinsSJ/ladybird that referenced this pull request Apr 22, 2025
This includes a patch which lets it build on GCC 15.
See microsoft/vcpkg#45132
trflynn89 pushed a commit to LadybirdBrowser/ladybird that referenced this pull request Apr 22, 2025
This includes a patch which lets it build on GCC 15.
See microsoft/vcpkg#45132
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-bug The issue is with a library, which is something the port should already support info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants