Created attachment 181731 [details] svn(1) diff of devel/psptoolchain-newlib In EREs, left-brace is not to be interpreted as an ordinary character unless escaped. Using left-brace not as a part of a valid interval expression produces undefined results [1]. There is a patch-in-progress to fix our implementation to throw an error if left-brace is not used in a valid manner, it would be good to go ahead and address this before-hand. =) [1] http://pubs.opengroup.org/onlinepubs/009696899/basedefs/xbd_chap09.html#tag_09_04_03
Looking good, patch works fine and build works. Thanks for finding and providing the patch.
A commit references this bug: Author: ler Date: Wed Apr 26 00:39:53 UTC 2017 New revision: 439423 URL: https://svnweb.freebsd.org/changeset/ports/439423 Log: devel/psptoolchain-newlib: Improve regex conformance PR: 218604 Submitted by: Kyle Evans <bsdports@kyle-evans.net> Approved by: Tassilo Philipp <tphilipp@potion-studios.com> (maintainer), adamw (mentor) Differential Revision: https://reviews.freebsd.org/D10501 Changes: head/devel/psptoolchain-newlib/Makefile
Committed, Thanks!