Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Ping: [maintainer update] gnuchess 6.2.11 -> 6.3.0
To:
Martin Ziemer <horrad@horrad.de>
Cc:
ports@openbsd.org
Date:
Fri, 5 Sep 2025 12:25:39 +0100

Download raw body.

Thread
On 2025/09/05 09:56, Martin Ziemer wrote:
> Am Mon, Aug 25, 2025 at 10:53:07AM +0200 schrieb Martin Ziemer:
> > This patch updates gnuchess from 6.2.11 to 6.3.0.
> > 
> > Had to manually copy gnuchess.ini since it was not taken by default.
> > 
> > Tested on amd64.
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/games/gnuchess/Makefile,v
> diff -u -p -r1.53 Makefile
> --- Makefile	30 Apr 2025 10:24:24 -0000	1.53
> +++ Makefile	22 Aug 2025 07:08:50 -0000
> @@ -1,6 +1,6 @@
>  COMMENT=	chess program
>  
> -DISTNAME=	gnuchess-6.2.11
> +DISTNAME=	gnuchess-6.3.0
>  DISTFILES=	${DISTNAME}.tar.gz book_1.02.pgn.gz

fails with newer libc++:

Making all in engine
c++ -DHAVE_CONFIG_H -I. -I../../src   -I../../src -I/usr/local/include  -O2 -pipe -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.cpp
In file included from protocol.cpp:45:
In file included from ./search.h:29:
/usr/include/c++/v1/csetjmp:39:6: error: "If libc++ starts defining <setjmp.h>, the __has_include check should move to libc++'s <setjmp.h>"
   39 | #    error "If libc++ starts defining <setjmp.h>, the __has_include check should move to libc++'s <setjmp.h>"
      |      ^
1 error generated.


>  CATEGORIES=	games
> @@ -24,6 +24,7 @@ CONFIGURE_STYLE=	gnu
>  
>  README=			${WRKSRC}/README
>  BOOK_FILE=		${WRKSRC}/src/book.bin
> +GNUCHESS_INI=		${WRKSRC}/doc/gnuchess.ini

i don't really see the point of variables for these things which are
referenced only once..

>  post-build:
>  		cd ${WRKSRC}/src && ln -sf ../../book_1.02.pgn
> @@ -31,6 +32,7 @@ post-build:
>  
>  post-install:
>  		${INSTALL_DATA_DIR} ${PREFIX}/share/gnuchess
> +		${INSTALL_DATA} ${GNUCHESS_INI} ${PREFIX}/share/gnuchess
>  		${INSTALL_DATA} ${BOOK_FILE} ${PREFIX}/share/gnuchess
>  		${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnuchess
>  		${INSTALL_DATA} ${README} ${PREFIX}/share/doc/gnuchess
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/games/gnuchess/distinfo,v
> diff -u -p -r1.17 distinfo
> --- distinfo	30 Apr 2025 10:24:24 -0000	1.17
> +++ distinfo	22 Aug 2025 07:08:50 -0000
> @@ -1,4 +1,4 @@
>  SHA256 (book_1.02.pgn.gz) = 3qx37bBhpZJJoZ3rA9o0nK4FHlJSemy1r4CNk5jTLUQ=
> -SHA256 (gnuchess-6.2.11.tar.gz) = 2BFA7qXGnRSwz7Y4FtS0yeGPulH1Jn3lsVOfRok56b0=
> +SHA256 (gnuchess-6.3.0.tar.gz) = Cze+wgmMKtaVt0Q+XXlE3G3IKE+NAfzDC9uU3QM8ojo=
>  SIZE (book_1.02.pgn.gz) = 26265281
> -SIZE (gnuchess-6.2.11.tar.gz) = 811399
> +SIZE (gnuchess-6.3.0.tar.gz) = 835620
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/games/gnuchess/pkg/PLIST,v
> diff -u -p -r1.14 PLIST
> --- pkg/PLIST	11 Mar 2022 19:04:29 -0000	1.14
> +++ pkg/PLIST	22 Aug 2025 07:08:50 -0000
> @@ -25,6 +25,7 @@ share/locale/it/LC_MESSAGES/gnuchess.mo
>  share/locale/nb/LC_MESSAGES/gnuchess.mo
>  share/locale/nl/LC_MESSAGES/gnuchess.mo
>  share/locale/pt_BR/LC_MESSAGES/gnuchess.mo
> +share/locale/ro/LC_MESSAGES/gnuchess.mo
>  share/locale/sr/LC_MESSAGES/gnuchess.mo
>  share/locale/sv/LC_MESSAGES/gnuchess.mo
>  share/locale/uk/LC_MESSAGES/gnuchess.mo
>