Summary: | lang/swift: fails to build with ICU 59.1 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
Component: | Individual Port(s) | Assignee: | Steve Wills <swills> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | girgen, pusateri | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(swills) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://github.com/apple/swift/commit/b61c51b7b672 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 218788 | ||||||
Attachments: |
|
Description
Jan Beich
2017-09-18 17:38:43 UTC
Upstream has a fix but for some reason limited to Linux. I guess, only Apple platforms are weird enough to not support UChar abstraction. Bug 218788 will land next week, pressured by bug 221335 and 2016Q4 branching. Please, help if you want to avoid the port marked BROKEN. just got bit by this one. I did a 'pkg upgrade' and it deleted swift and upgraded icu and firefox. Choosing between the latest firefox and swift is not a choice I wanted to make. Created attachment 187007 [details]
fix build with ICU & clang
Hi,
This patch fixes the build problems for clang. I just tested it with 11.1-amd64.
Palle
@swills if you like I can commit the patch, it builds fine with it. Palle (In reply to Palle Girgensohn from comment #5) Sure, go ahead. A commit references this bug: Author: girgen Date: Fri Oct 13 13:30:10 UTC 2017 New revision: 451995 URL: https://svnweb.freebsd.org/changeset/ports/451995 Log: Fix compile error with ICU 59 Suggested by: Jan Beich (linked to upstreams fix) PR: 222428 Approved by: @swills (maintainer) Changes: head/lang/swift/Makefile head/lang/swift/files/patch-swift_stdlib_public_stubs_UnicodeNormalization.cpp Committed Jan Beich's suggested patch. Had to apply "manually". Thanks! |