Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
Re: fix various ports for sparc64
To:
Theo Buehler <tb@theobuehler.org>
Cc:
ports@openbsd.org, benoit@openbsd.org
Date:
Thu, 4 Dec 2025 10:17:43 +0100

Download raw body.

Thread
On Thu, Dec 04, 2025 at 07:07:38AM +0100, Theo Buehler wrote:
> On Wed, Dec 03, 2025 at 04:01:09PM +0100, Claudio Jeker wrote:
> > This is a collection of ports I fixed in my bulk builds with gcc15 by
> > simply adjusting the COMPILER flags.
> > 
> > fldigi, commoncpp, freeimage, lsys and jlint need to set CXXFLAGS by
> > default to prepare for gcc15 which trips over the same issue as base-clang.
> > Also -std=c++14 should be supported by gcc8 so there is little reason to
> > be special about that.
> > 
> > I tried to add reasons if they are not obvious. Also I removed base-gcc
> > from COMPILER, I doubt those ports will be built on an arch without
> > ports-gcc.
> 
> This all makes sense. None should require a bump as far as I can see.
> 
> ok tb
> 
> I don't see anything controversial here, but a few ports have maintainers:
> 
> ajacoutot:	graphics/gphoto2 multimedia/pipewire/pipewire
> benoit:		security/pdfcrack

Actually I drop the pdfcrack diff, it does not work since even gcc15 is
allergic to ommitted parameter names. I think one needs to compile with
-std=c23 which comes with many other gotchas. I actually fixed the two
problematic files and will send out a new diff for that one.

> bluhm:		misc/open62541
> rsadowski:	net/ruby-grpc
 
> Index: security/pdfcrack/Makefile
> ===================================================================
> RCS file: /cvs/ports/security/pdfcrack/Makefile,v
> diff -u -p -r1.16 Makefile
> --- security/pdfcrack/Makefile	19 Sep 2025 04:54:57 -0000	1.16
> +++ security/pdfcrack/Makefile	3 Dec 2025 13:58:06 -0000
> @@ -12,6 +12,10 @@ PERMIT_PACKAGE =	Yes
>  
>  WANTLIB =		c
>  
> +# needs support for omitted parameter names
> +COMPILER =		base-clang ports-gcc
> +COMPILER_LANGS =	c
> +
>  SITES =			${SITE_SOURCEFORGE:=pdfcrack/}
>  
>  MAKE_FLAGS =		CFLAGS="${CFLAGS}" CC="${CC}"

-- 
:wq Claudio