Re: git: 3fd626858d82 - 2023Q1 - devel/rgbds: Fix build on 12.4

From: Alexey Dokuchaev <danfe_at_freebsd.org>
Date: Tue, 28 Mar 2023 08:06:51 UTC
On Tue, Mar 28, 2023 at 08:25:06AM +0100, Nuno Teixeira wrote:
> Hello,
> 
> Upstream can't solve problem with clang >10
> https://github.com/gbdev/rgbds/issues/1091

It builds fine for me with default compiler (12.4/13.1) and this target:

post-patch:
# yank _POSIX_C_SOURCE because it breaks the build
	${REINPLACE_CMD} 's,-D_POSIX_C_SOURCE=200809L,,' ${WRKSRC}/Makefile

Good code should not pass custom _POSIX_C_SOURCE anyway. :)

./danfe