[Midnightbsd-cvs] [MidnightBSD/mports] d9713c: www/firefox: update to 155.0 (#805)
Lucas Holt
noreply at github.com
Wed Sep 2 20:56:35 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: d9713c02b81fa73349999b9779035582c3966957
https://github.com/MidnightBSD/mports/commit/d9713c02b81fa73349999b9779035582c3966957
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-02 (Wed, 02 Sep 2026)
Changed paths:
M www/firefox/Makefile
M www/firefox/distinfo
M www/firefox/files/patch-python_sites_mach.txt
A www/firefox/files/patch-third__party_angle_angle__common__gn_moz.build
A www/firefox/files/patch-third__party_angle_angle__program__version__id__gn_moz.build
M www/firefox/files/patch-xpcom_base_nsMemoryInfoDumper.cpp
M www/firefox/pkg-plist
Log Message:
-----------
www/firefox: update to 155.0 (#805)
Update `www/firefox` from 153.0.4 to 155.0 (latest release, 2026-09-01).
> **Depends on #804** (`security/nss: update to 3.127`) — Firefox 155
declares a minimum of `nss>=3.127`. Please merge that first.
## Upstream changes requiring port adjustments
### ANGLE relocated (the hard build failure)
ANGLE moved from `gfx/angle/checkout/` to `third_party/angle/`, and the
GN-generated `moz.build` files it brought along only carry branches for
Linux and OpenBSD. The build died at:
```
gmake[2]: *** No rule to make target 'third_party/angle/gen/ANGLEShaderProgramVersion.h.rsp',
needed by 'third_party/angle/gen/.deps/ANGLEShaderProgramVersion.h.stub'. Stop.
```
Two fixes:
- Adjusted the `<math.h>` → `<cmath>` fixup path in `post-patch`
(verified both `InfoSink.h` and `IntermNode.cpp` still include
`<math.h>`, so the fixup is still needed).
- Added two patches from the FreeBSD port:
- `patch-third__party_angle_angle__common__gn_moz.build` — adds the
`OS_TARGET == "FreeBSD"` branch (defines, `OS_LIBS += dl`,
`system_utils_posix.cpp`)
- `patch-third__party_angle_angle__program__version__id__gn_moz.build` —
creates the missing `ANGLEShaderProgramVersion.h-*.rsp.in` and its
`moz.build` hookup
These apply to us because our configure target is
`x86_64-mports-freebsd13.4`, so `OS_TARGET` is `FreeBSD`.
### Refreshed stale patches
- `patch-python_sites_mach.txt` — the glean-sdk pin moved 67.3.2 →
68.0.1
- `patch-xpcom_base_nsMemoryInfoDumper.cpp` — the include block was
alphabetized upstream (`sys/stat.h`/`sys/types.h` swapped). Refreshed
from the current upstream version; `signal.h` is still not included, so
the patch is still required.
### pkg-plist
`glxtest`, `vaapitest` and `vulkantest` were consolidated upstream into
a single `gfxtest` binary.
### Dependencies
`BUILD_DEPENDS`: `nss>=3.124` → `nss>=3.127`.
## Validation (amd64, MidnightBSD 4.0.6)
- `bmake makesum` — distinfo regenerated
- `bmake patch` — all 31 patches apply cleanly
- `bmake` — builds clean
- `bmake fake` — `Fake succeeded`, no plist mismatches
- `bmake package` — `firefox-155.0,2.mport` created (75 MB)
- `portlint` — 1 fatal / 37 warnings, all **pre-existing and
byte-identical to HEAD** (verified via `git show`); the only delta is 2
additional "not generated by makepatch" notices for the new ANGLE
patches, matching the 9 already present. Left alone to keep this change
scoped.
No test suite run: the port configures with `--disable-tests`. The
`LIB_DEPENDS` warnings at `fake-qa` are pre-existing (those libraries
are `dlopen`ed at runtime).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01GHarVjRi99DkH9XoaBwoez
## Summary by Sourcery
Update the Firefox port to 155.0 with the required FreeBSD build
adjustments and dependency changes.
Bug Fixes:
- Update the Firefox port to build successfully with the relocated ANGLE
sources and Firefox 155's generated build files on FreeBSD.
Enhancements:
- Refresh Firefox to version 155.0 and update its minimum NSS build
dependency.
- Refresh platform-specific patches and adjust the package manifest for
the consolidated graphics test binary.
Chores:
- Regenerate checksums for the Firefox 155.0 distfile.
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list