Hi Brian,
Brian Callahan wrote on Mon, Apr 16, 2018 at 05:54:00PM -0400:
> games/xminehunter is extremely old, the tarball and code is from 1997.
> I'm not sure it warrants more than this minimal fix.
You could probably fix it in the same way that i just used for net/nam,
but it would be even more ugly because the use of the _bits arrays
is scattered across more code.
So i think forcing the old standard is good enough.
> Runs fine.
Confirmed.
OK schwarze@
Ingo
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/games/xminehunter/Makefile,v
> retrieving revision 1.31
> diff -u -p -r1.31 Makefile
> --- Makefile 23 Oct 2017 17:10:50 -0000 1.31
> +++ Makefile 16 Apr 2018 21:53:36 -0000
> @@ -19,6 +19,8 @@ ALL_TARGET= xminehunter
> FAKE_FLAGS= INSTALL_BIN_PATH=${WRKINST}${PREFIX}/bin \
> INSTALL_SCORE_PATH=${WRKINST}${PREFIX}/lib/X11/xminehunter
> MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
> +MAKE_FLAGS= CFLAGS="${CXXFLAGS} -std=gnu++98 \
> + -DMINE_SCORE_PATH=\\\"${LOCALBASE}/lib/X11/xminehunter\\\""
>
> NO_TEST= Yes