Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libflac] add wasm port support #36080

Closed

Conversation

nonameentername
Copy link

@nonameentername nonameentername commented Jan 9, 2024

  • 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.

@nonameentername nonameentername marked this pull request as draft January 9, 2024 05:13
@nonameentername
Copy link
Author

@microsoft-github-policy-service agree

@FrankXie05 FrankXie05 added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Jan 9, 2024
@nonameentername nonameentername marked this pull request as ready for review January 20, 2024 19:48
FrankXie05
FrankXie05 previously approved these changes Jan 31, 2024
@FrankXie05 FrankXie05 added the info:reviewed Pull Request changes follow basic guidelines label Jan 31, 2024
Comment on lines 9 to 10
- if(NOT MSVC)
+ if(NOT MSVC AND NOT EMSCRIPTEN)
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need a patch, or can it be configured by WITH_STACK_PROTECTOR?
Is the patch sent upstream?

Copy link
Author

Choose a reason for hiding this comment

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

I submitted a pull request for this in the flac repo: xiph/flac#664
I don't know if WITH_STACK_PROTECTOR can be configured instead.

Copy link
Member

Choose a reason for hiding this comment

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

can this be done in the portfile instead?

set(EXTRA_OPTIONS "")
if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
  set(EXTRA_OPTIONS "-DWITH_STACK_PROTECTOR=OFF")
endif()

...

vcpkg_cmake_configure(
  ...
  OPTIONS
    ${EXTRA_OPTIONS}
)

Copy link
Author

Choose a reason for hiding this comment

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

@vicroms I updated my pull request to use -DWITH_STACK_PROTECTOR=OFF instead of patch.

@data-queue data-queue marked this pull request as draft January 31, 2024 22:53
@BillyONeal BillyONeal removed the info:reviewed Pull Request changes follow basic guidelines label Mar 11, 2024
@nonameentername
Copy link
Author

I'm closing this since this has been resolved in a different pull request. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants