opencoarrays: fix MPI linkage - #2
Open
Dave-Allured wants to merge 1 commit into
Open
Conversation
Update and simplify linkage to MPI components. Remove obsolete methods.
Dave-Allured
added a commit
that referenced
this pull request
Jul 27, 2025
Dave-Allured
added a commit
that referenced
this pull request
Jul 27, 2025
Dave-Allured
pushed a commit
that referenced
this pull request
Aug 4, 2026
add-unistd-include.patch was written with CRLF line endings on every
line, including the ---/+++/@@ headers. Older versions of patch(1) see
DOS line endings in the headers, report "(Stripping trailing CRs from
patch.)" and strip the CRs from the context lines too. Since editline.c
itself has CRLF line endings, the stripped context no longer matches and
both hunks fail:
(Stripping trailing CRs from patch.)
patching file editline/editline.c
Hunk #1 FAILED at 63.
Hunk #2 FAILED at 156.
2 out of 2 hunks FAILED
Regenerate the patch with diff(1) so the headers use LF and only the
content lines carry CRLF, matching the existing find-va_copy.patch which
applies correctly on every platform.
Also drop the legacy K&R declarations of read() and write() outright
instead of guarding them with the private _UNISTD_H_ macro, since
<unistd.h> supplies the correct prototypes on all supported OS versions.
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
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.
Update and simplify linkage to MPI components.
Remove obsolete methods.
Description
Type(s)
Tested on
macOS x.y
Xcode x.y
Verification
Have you
port lint --nitpick?sudo port test?sudo port -vst install?