summaryrefslogtreecommitdiff
path: root/games/crafty/patches
diff options
context:
space:
mode:
authoragc <agc>2004-01-28 16:21:08 +0000
committeragc <agc>2004-01-28 16:21:08 +0000
commit4eecd9459169af3bb31f11b5b11c3c0be9d78f58 (patch)
treea3256e19329eab862f31fbbdc3fca4148b8b22fe /games/crafty/patches
parent4104e7894faf2a5c98bbfeca35326645aac8f9b0 (diff)
downloadpkgsrc-4eecd9459169af3bb31f11b5b11c3c0be9d78f58.tar.gz
gcc3 fix - we compile one of the object files with g++, so link the
executable with g++ as well.
Diffstat (limited to 'games/crafty/patches')
-rw-r--r--games/crafty/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
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
+