Bug 295930 - [New Port] lang/gnat16: New GCC-16 Ada Port
Summary: [New Port] lang/gnat16: New GCC-16 Ada Port
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Thierry Thomas
URL: https://gcc.gnu.org/gcc-16/changes.ht...
Keywords:
Depends on: 292708
Blocks:
  Show dependency treegraph
 
Reported: 2026-06-08 10:14 UTC by Alastair Hogge
Modified: 2026-06-12 10:33 UTC (History)
1 user (show)

See Also:


Attachments
[PATCH] lang/gnat16: New GCC-16 Ada Port (409.23 KB, patch)
2026-06-08 10:41 UTC, Alastair Hogge
no flags Details | Diff
[PATCH] lang/gnat16: New GCC-16 Ada Port (409.50 KB, patch)
2026-06-10 08:25 UTC, Alastair Hogge
no flags Details | Diff
[PATCH] lang/gnat16: New GCC-16 Ada Port (409.22 KB, patch)
2026-06-12 10:33 UTC, Mark Linimon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Hogge 2026-06-08 10:14:56 UTC

    
Comment 1 Alastair Hogge 2026-06-08 10:41:14 UTC
Created attachment 271612 [details]
[PATCH] lang/gnat16: New GCC-16 Ada Port

Some differences in this Port:
* Makefile now passes GNAT to ${PLIST_SUB}, it is defined with ${PORTNAME}, this removes the hard-coded GNAT version information in the pkg-plist pathnames
* License block is now complete
* ${_GNAT??_PATH} variables are now just ${_GNAT_PATH} and are still set based on the bootstrap option (bug #295927). I ended up doing this for GNAT-15 too, as it made it easier to drop in new assets for use with PREVASSET
* pkg-message is now UCL compliant
* ${_PREV_ASSET_VER} is now equal to ${DISTVERSION} so the built assets are up to date and used, instead of the previous versions

I am not sure on changes to the option PREVASSET mechanics.

poudriere-testport lang/gnat16 (both with bootstrap and previous assets):
15_0-amd64-release: Pass
main-amd64-default: Pass
Comment 2 Alastair Hogge 2026-06-10 08:25:27 UTC
Created attachment 271666 [details]
[PATCH] lang/gnat16: New GCC-16 Ada Port

Sync with GNAT-15
Comment 3 Alastair Hogge 2026-06-10 08:38:36 UTC
Upstream already fixed gcc/ada/libgnat/s-dorepr__freebsd.adb:

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=b5c443828ac7be01beb3580e6be3dcfce14c975a
Comment 4 Thierry Thomas freebsd_committer freebsd_triage 2026-06-12 08:36:53 UTC
Let's wait for lang/gnat15 to be committed.
Comment 5 Alastair Hogge 2026-06-12 09:56:10 UTC
Good thinking 99. Will sync and regenerate after that.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2026-06-12 10:33:23 UTC
Created attachment 271733 [details]
[PATCH] lang/gnat16: New GCC-16 Ada Port

^Triage: remove trailing cruft.