pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/60769: pkgsrc/devel/scmcvs breaks on Darwin due to C23
The following reply was made to PR pkg/60769; it has been noted by GNATS.
From: nia <nia%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/60769: pkgsrc/devel/scmcvs breaks on Darwin due to C23
Date: Tue, 22 Sep 2026 21:11:08 +0000
On Tue, Sep 22, 2026 at 08:55:00PM +0000, hubertf%gmx.de@localhost via gnats wrote:
> diff -u -r1.24 Makefile
> --- Makefile 4 Jul 2026 12:56:29 -0000 1.24
> +++ Makefile 22 Sep 2026 20:47:02 -0000
> @@ -27,6 +27,12 @@
>
> CONFIGURE_ARGS.Darwin+= --enable-case-sensitivity
>
> +.include "../../mk/bsd.prefs.mk"
> +
> +.if ${OPSYS} == "Darwin"
> +FORCE_C_STD= gnu17
> +.endif
> +
> .include "options.mk"
>
> AUTOCONF_REQD= 2.50
>
Packages should be built with the same C standard on all platforms
for consistency and reproducability of issues. Inevitably, this
will also be a problem on other platforms.
gnu17 seems an overly recent choice for code as old as CVS. Ideally
it should work on as many targets as possible. gnu99 is a good
choice.
Home |
Main Index |
Thread Index |
Old Index