Created attachment 198788 [details] crystal-head.patch (This patch is approved upstream but not merged yet.)
Could you provide a pointer of upstream approval? It is not necessary but I'm interested in that.
https://github.com/crystal-lang/crystal/commit/8fef4e42f17bd9d42d1ee5de0e334401ef4d7966
^^yep. 0.27.0 is already out with this patch, so I guess I'll work on updating the port to 0.27.0
Okay, let's update to 0.27.0 rather than applying this patch.
Created attachment 199022 [details] crystal0270.patch Here we go. New bootstraps because 0.27.0 doesn't compile with 0.25.x. While here, more consistent bootstrap names / more declarative makefile.
A commit references this bug: Author: meta Date: Wed Nov 7 04:46:28 UTC 2018 New revision: 484386 URL: https://svnweb.freebsd.org/changeset/ports/484386 Log: lang/crystal: update to 0.27.0 This update includes the fix build oon 13-CURRENT. PR: 232836 Submitted by: Greg V <greg@unrelenting.technology> (maintainer) Approved by: mentors (implicit) Changes: head/lang/crystal/Makefile head/lang/crystal/distinfo head/lang/crystal/pkg-plist
Still open. Quarterly branch build needs to be fixed.
A commit references this bug: Author: meta Date: Tue Nov 20 10:20:52 UTC 2018 New revision: 485424 URL: https://svnweb.freebsd.org/changeset/ports/485424 Log: lang/crystal: Fix build on 13-CURRENT PR: 232836 Submitted by: Greg V <greg@unrelenting.technology> (maintainer) Approved by: portmgr (blanket), pi (mentor) Obtained from: https://github.com/crystal-lang/crystal/pull/6629 Changes: branches/2018Q4/lang/crystal/Makefile branches/2018Q4/lang/crystal/distinfo
Also applied the fix to quarterly branch, thanks for your contribution.