-
Notifications
You must be signed in to change notification settings - Fork 208
PHPC-2270 and PHPC-2271: Bump to libmongoc 1.24.3 and update build configuration #1458
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…1.24 This removes old logic to not define _DEFAULT_SOURCE on Windows (technically MinGW or Cygwin). It's not clear whether that was ever necessary; it was introduced in ab44b0c based on upstream work in mongodb/mongo-c-driver@9d2d8b1, but libmongoc did not utilize the same logic. In any event, these constants are now defined unconditionally for libmongoc since mongodb/mongo-c-driver@c520651, so this change should restore parity between PHPC's autoconf and libmongoc's CMake configurations.
The recent additions to PlatformFlags.m4 should be sufficient. It's not clear what purpose this originally served. It dates back to mongodb/libbson@83ae5d2 (before libbson was consolidated with libmongoc), but even then there were no other references to a LIBC_FEATURES output variable within the project.
Manually tested this PR with php:8.1-alpine, which excludes the unconditional definition of Before the changes to
With the changes to
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://jira.mongodb.org/browse/PHPC-2270
https://jira.mongodb.org/browse/PHPC-2271