summaryrefslogtreecommitdiff
path: root/games/mirrormagic
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2007-04-03 16:57:06 +0000
committerdillo <dillo@pkgsrc.org>2007-04-03 16:57:06 +0000
commitb9d956d31c40096de3861163b593a896764f2711 (patch)
tree808587df3e923b1bbc12392bcac3ab502d98e4f4 /games/mirrormagic
parent801031dd571637c69a7d3a22da56791d07b83ed6 (diff)
downloadpkgsrc-b9d956d31c40096de3861163b593a896764f2711.tar.gz
Add patch from Debian package to fix compilation with gcc4.
Okayed by maintainer.
Diffstat (limited to 'games/mirrormagic')
-rw-r--r--games/mirrormagic/distinfo3
-rw-r--r--games/mirrormagic/patches/patch-ad15
2 files changed, 17 insertions, 1 deletions
diff --git a/games/mirrormagic/distinfo b/games/mirrormagic/distinfo
index d20be7ca2c8..f0a124e789c 100644
--- a/games/mirrormagic/distinfo
+++ b/games/mirrormagic/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 23:12:00 agc Exp $
+$NetBSD: distinfo,v 1.7 2007/04/03 16:57:06 dillo Exp $
SHA1 (mirrormagic-2.0.2.tar.gz) = bce7fbf163d5177f59ba4f516b06a3ebb7cc3927
RMD160 (mirrormagic-2.0.2.tar.gz) = 57de928f2b37575886ddb5cbafcababf9de765dc
Size (mirrormagic-2.0.2.tar.gz) = 1168098 bytes
SHA1 (patch-aa) = ec4613d70482da6f240fefe57f6c61f745d01125
SHA1 (patch-ab) = abc9e8b8ed66225b50a398e287d94dfa1b728365
+SHA1 (patch-ad) = ebda01ff3f6dde6f56073e6ab8848d96110e17dd
diff --git a/games/mirrormagic/patches/patch-ad b/games/mirrormagic/patches/patch-ad
new file mode 100644
index 00000000000..d86464bd538
--- /dev/null
+++ b/games/mirrormagic/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.3 2007/04/03 16:57:06 dillo Exp $
+
+Fix compilation with gcc4, from Andreas Jochens via Debian.
+
+--- src/main.h.orig 2003-06-07 18:04:37.000000000 +0200
++++ src/main.h
+@@ -459,7 +459,7 @@ extern struct PlayerInfo stored_player[]
+ #endif
+ extern struct HiScore highscore[];
+ extern struct TapeInfo tape;
+-extern struct JoystickInfo joystick[];
++/* extern struct JoystickInfo joystick[]; */
+ extern struct SetupInfo setup;
+ extern struct GameInfo game;
+ extern struct LaserInfo laser;