In file included from ../src/Cell.hh:24:0, from ../src/Terminal.hh:24, from ../src/Terminal.cc:19: ../src/unicode.hh:33:17: error: redeclaration of C++ built-in type 'char32_t' [-fpermissive] typedef wchar_t char32_t; ^~~~~~~~ build log: http://sprunge.us/OCig
Created attachment 184744 [details] Proposed patch The attached patch forces the use of an older C++ standard to fix the build. Updating the port to a newer release would likely allow dropping this.
Comment on attachment 184744 [details] Proposed patch Looks fine to me. Thanks!
Thanks, Raphael and thanks Douglas for the quick confirmation! Douglas, based on Raphael's comment I had a look and checking http://svn.anyterm.org/anyterm/trunk/CHANGELOG there are a number of changes related to C++ standards (and in fact GCC probably is not required any longer). If you'd like to submit an update that might be good (independently of this PR).
A commit references this bug: Author: rakuco Date: Wed Jul 26 21:44:38 UTC 2017 New revision: 446699 URL: https://svnweb.freebsd.org/changeset/ports/446699 Log: Force an older C++ standard than C++11 to build. This fixes the build with GCC >= 6, which use C++11 by default. This version of anyterm is not compatible with C++11. PR: 219296 Approved by: Douglas Thrift <douglas@douglasthrift.net> Changes: head/www/anyterm/Makefile