Subject: CVS commit: pkgsrc/games/craft
From: David A. Holland
Date: 2020-11-29 04:11:55
Message id: 20201129031155.1C429FA9D@cvs.NetBSD.org

Log Message:
Make games/craft build again.

The custom C++ preprocessor thingy has been choking for a while on
clang; recently gcc's jointed the party. Work around this by building
it with -g instead of -O2. (For me at least with gcc, while -O2
produces a tool that gives spurious syntax errors, plain -O gives one
that loops forever instead, which isn't an improvement.)

Maybe someday someone will bother to find out where the undefined
behavior is.

Also build the actual game with -Wno-return-type to silence complaints
about dead functions not declared as dead and similar, and while here
adjust things so it still installs correctly regardless of umask.

Files:
RevisionActionfile
1.35modifypkgsrc/games/craft/Makefile
1.14modifypkgsrc/games/craft/distinfo
1.1addpkgsrc/games/craft/patches/patch-Makefile