Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2023 08:06:51 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        Gerald Pfeifer <gerald@pfeifer.com>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-branches@freebsd.org
Subject:   Re: git: 3fd626858d82 - 2023Q1 - devel/rgbds: Fix build on 12.4
Message-ID:  <ZCKgGxW1zfM3/MUT@FreeBSD.org>
In-Reply-To: <CAFDf7UKuDgxpxNP0-KSU5nYXxpNz11PczJ-7eY53orPzMwCRiQ@mail.gmail.com>
References:  <202303130836.32D8a39n017978@gitrepo.freebsd.org> <6174ccaf-95ae-ae15-9ce2-a4c143154d06@pfeifer.com> <ZCKNZ3SUHJ382aLf@FreeBSD.org> <CAFDf7UKuDgxpxNP0-KSU5nYXxpNz11PczJ-7eY53orPzMwCRiQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZCKgGxW1zfM3/MUT>