Skip to content

feat(macOS): Add macOS support to fetchpkg#5

Merged
john-tornblom merged 3 commits intops5-payload-dev:masterfrom
br3akzero:feat/macOS
Mar 31, 2026
Merged

feat(macOS): Add macOS support to fetchpkg#5
john-tornblom merged 3 commits intops5-payload-dev:masterfrom
br3akzero:feat/macOS

Conversation

@br3akzero
Copy link
Copy Markdown
Contributor

Add macOS build support: fix basename conflict and add Makefile.macos with Homebrew curl paths.

macOS declares basename() in <string.h> with a conflicting return type,
causing a compile error. Rename the static function to avoid the conflict.
Uses Homebrew's curl include/lib paths via brew --prefix, supporting
both Apple Silicon and Intel Macs.
@br3akzero
Copy link
Copy Markdown
Contributor Author

br3akzero commented Mar 25, 2026

@john-tornblom here is my humble edit to add macOS support. The changes are minimal and I also added an CI job that runs after the original ci.yaml and it compiles to macOS.

Let me know if we need to adjust this in any way shape or form!

Thank you for this great cli!

Runs on macos-latest after CI completes successfully.
Builds with Homebrew curl and uploads arm64 artifact.
@br3akzero
Copy link
Copy Markdown
Contributor Author

To anyone reading this, I merged these PRs into br3akzero:master and the macOS CLI is live on my fork here: https://github.com/br3akzero/fetchpkg/releases/tag/0.3.2-a

@john-tornblom john-tornblom merged commit 10c9bb9 into ps5-payload-dev:master Mar 31, 2026
1 check passed
@john-tornblom
Copy link
Copy Markdown
Contributor

thanks!

@br3akzero
Copy link
Copy Markdown
Contributor Author

@john-tornblom

lets-go-lets-go-thats-class

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