summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2004-01-28 16:21:08 +0000
committeragc <agc@pkgsrc.org>2004-01-28 16:21:08 +0000
commit35af4fd37b1e09ba0373ae20533c12794dab4365 (patch)
treea3256e19329eab862f31fbbdc3fca4148b8b22fe
parent1c5123709ca8b16dd2f84bea362f390f2b0d66c8 (diff)
downloadpkgsrc-35af4fd37b1e09ba0373ae20533c12794dab4365.tar.gz
gcc3 fix - we compile one of the object files with g++, so link the
executable with g++ as well.
-rw-r--r--games/crafty/distinfo3
-rw-r--r--games/crafty/patches/patch-ac13
2 files changed, 15 insertions, 1 deletions
diff --git a/games/crafty/distinfo b/games/crafty/distinfo
index 212dc04a92e..72114de6861 100644
--- a/games/crafty/distinfo
+++ b/games/crafty/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2002/09/11 10:52:09 jlam Exp $
+$NetBSD: distinfo,v 1.8 2004/01/28 16:21:08 agc Exp $
SHA1 (crafty-18.15/crafty-18.15.tar.gz) = 8bc3beeb464a792973d8276b291bf761fec38f09
Size (crafty-18.15/crafty-18.15.tar.gz) = 365476 bytes
@@ -9,3 +9,4 @@ Size (crafty-18.15/read.me) = 6944 bytes
SHA1 (crafty-18.15/crafty.faq) = 7ba5cc19e190fdcf1697e3130c679ce5e50141db
Size (crafty-18.15/crafty.faq) = 10252 bytes
SHA1 (patch-ab) = cf686338b72b83922b23751d75011e92cf3dbe83
+SHA1 (patch-ac) = 507a7688c2aee795b3cf20c209f1edca076dfd9e
diff --git a/games/crafty/patches/patch-ac b/games/crafty/patches/patch-ac
new file mode 100644
index 00000000000..1788b962390
--- /dev/null
+++ b/games/crafty/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.3 2004/01/28 16:21:08 agc Exp $
+
+--- Makefile 2004/01/28 14:58:48 1.1
++++ Makefile 2004/01/28 14:59:16
+@@ -422,7 +422,7 @@
+ crafty
+
+ crafty: $(objects)
+- $(CC) $(LDFLAGS) -o crafty $(objects) -lm $(LIBS)
++ $(CXX) $(LDFLAGS) -o crafty $(objects) -lm $(LIBS)
+ @rm -f X86-elf.S
+ @rm -f X86-aout.S
+