| Summary: | games/gtkradiant: fails to build with libc++ 3.9 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | danfe |
| Priority: | --- | Keywords: | easy, needs-patch |
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(danfe) |
| Hardware: | Any | ||
| OS: | Any | ||
| URL: | https://github.com/llvm-mirror/libcxx/commit/b4aa97130b8b | ||
| Bug Depends on: | |||
| Bug Blocks: | 212343 | ||
Sorry, I could not resist to fix it, and the fix is trivial. A commit references this bug: Author: amdmi3 Date: Fri Nov 25 14:27:37 UTC 2016 New revision: 427115 URL: https://svnweb.freebsd.org/changeset/ports/427115 Log: - Fix build with clang 3.9 PR: 214650 Approved by: portmgr blanket Changes: head/games/gtkradiant/files/patch-plugins_vfspk3_vfs.cpp head/games/gtkradiant/files/patch-radiant_eclass__def.cpp |
plugins/vfspk3/vfs.cpp:354:15: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *' char *ext = strrchr (name, '.'); ^ ~~~~~~~~~~~~~~~~~~~ http://package18.nyi.freebsd.org/data/headi386PR212343-default/2016-09-11_07h04m19s/logs/errors/gtkradiant-1.5.0_14.log http://package18.nyi.freebsd.org/data/headamd64PR212343-default/2016-09-13_07h18m01s/logs/errors/gtkradiant-1.5.0_14.log