pkgsrc/games/crafty/patches/patch-aa
joerg 2cfbcdf9d9 Update to crafty 22.1. Always use the NetBSD rules, we can fixup issues
if they happen. Don't install the ECO classification as opening book, it
is essentially useful.

No detailed ChangeLog, but this fixes some crashes with invalid games,
brings SMP support and increases to the strength of crafty.
2008-05-25 15:55:27 +00:00

13 lines
386 B
Text

$NetBSD: patch-aa,v 1.7 2008/05/25 15:56:02 joerg Exp $
--- Makefile.orig 2008-04-20 19:11:58.000000000 +0200
+++ Makefile
@@ -428,7 +428,7 @@ crafty-make:
crafty.o: *.c *.h
crafty: $(objects) egtb.o
- $(CC) $(LDFLAGS) -o crafty $(objects) egtb.o -lm $(LIBS)
+ $(CXX) $(LDFLAGS) -o crafty $(objects) egtb.o -lm $(LIBS)
egtb.o: egtb.cpp
$(CXX) -c $(CXFLAGS) $(opts) egtb.cpp