Commit 5d5679d
committed
Forward-port macOS LuaJIT port fixes to 2026-07-20_1
Upstream's LuaJIT bump adds vcpkg-ports/ports/luajit/2026-07-20_1 and
points the filesystem-registry baseline at it. That directory is
byte-identical to 2025-07-24_1 apart from lacking the macOS fixes this
fork carries, so they would have silently stopped applying on the next
build without any textual merge conflict.
Restore all three in the new port:
- configure: pin the installed tool symlink via INSTALL_TSYMNAME so it
doesn't collide with an existing target on the osx triplet.
- configure: restore the executable bit; portfile.cmake file(COPY)s the
script into the source tree and the make step invokes it directly.
Upstream's own 2025-07-24_1 shipped it 100755.
- pob-wide-crt.patch: make _lua_getenvcopy null-safe, since
strdup(NULL) on an unset env var is UB, and cast in _lua_getenvfree
so free() doesn't discard a const qualifier.
Both files are now byte-identical to their 2025-07-24_1 counterparts.
Not build-verified: a CMake rebuild is the real test.1 parent 5676d74 commit 5d5679d
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
397 | | - | |
| 396 | + | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
0 commit comments