summaryrefslogtreecommitdiff
path: root/games/kdegames
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-09-28 23:44:36 +0000
committertron <tron@pkgsrc.org>1998-09-28 23:44:36 +0000
commit852fa2fa89d6bebc5613ee26d3af678d9e428f51 (patch)
tree5b47e50b710ba7a67f585588517a984745fecb7b /games/kdegames
parent2b5ec4847c0dabdff0fd1a15cfa23d8f9e8fd771 (diff)
downloadpkgsrc-852fa2fa89d6bebc5613ee26d3af678d9e428f51.tar.gz
Add work arround for code generation bug in "moc" to make "ksnake"
compile with "egcs".
Diffstat (limited to 'games/kdegames')
-rw-r--r--games/kdegames/patches/patch-ab14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/kdegames/patches/patch-ab b/games/kdegames/patches/patch-ab
new file mode 100644
index 00000000000..68c5d9a262e
--- /dev/null
+++ b/games/kdegames/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.9 1998/09/28 23:44:36 tron Exp $
+
+--- ksnake/Makefile.in.orig Fri Jul 10 20:36:15 1998
++++ ksnake/Makefile.in Tue Sep 29 01:15:34 1998
+@@ -534,7 +534,8 @@
+ $(MOC) -o $@ $<
+
+ mscore.cpp: score.h
+- $(MOC) -o $@ $<
++ $(MOC) $< | \
++ sed 's/typedef void(Score::\*m1_t1)(int);/typedef void(Score::\*m1_t1)(int,int);/' >$@
+
+ mbox.cpp: box.h
+ $(MOC) -o $@ $<