From b9d956d31c40096de3861163b593a896764f2711 Mon Sep 17 00:00:00 2001 From: dillo Date: Tue, 3 Apr 2007 16:57:06 +0000 Subject: Add patch from Debian package to fix compilation with gcc4. Okayed by maintainer. --- games/mirrormagic-sdl/distinfo | 3 ++- games/mirrormagic-sdl/patches/patch-ad | 15 +++++++++++++++ games/mirrormagic/distinfo | 3 ++- games/mirrormagic/patches/patch-ad | 15 +++++++++++++++ 4 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 games/mirrormagic-sdl/patches/patch-ad create mode 100644 games/mirrormagic/patches/patch-ad (limited to 'games') diff --git a/games/mirrormagic-sdl/distinfo b/games/mirrormagic-sdl/distinfo index c8fbde568c3..6d1c2c02f81 100644 --- a/games/mirrormagic-sdl/distinfo +++ b/games/mirrormagic-sdl/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 23:12:00 agc Exp $ +$NetBSD: distinfo,v 1.4 2007/04/03 16:57:06 dillo Exp $ SHA1 (mirrormagic-2.0.2.tar.gz) = bce7fbf163d5177f59ba4f516b06a3ebb7cc3927 RMD160 (mirrormagic-2.0.2.tar.gz) = 57de928f2b37575886ddb5cbafcababf9de765dc @@ -6,3 +6,4 @@ Size (mirrormagic-2.0.2.tar.gz) = 1168098 bytes SHA1 (patch-aa) = 130a36ed3aea3f445dbccc0b6b45b7aa198bca12 SHA1 (patch-ab) = abc9e8b8ed66225b50a398e287d94dfa1b728365 SHA1 (patch-ac) = 2dd983a8f2a82f80226b902af28f5c29011e42e3 +SHA1 (patch-ad) = ebda01ff3f6dde6f56073e6ab8848d96110e17dd diff --git a/games/mirrormagic-sdl/patches/patch-ad b/games/mirrormagic-sdl/patches/patch-ad new file mode 100644 index 00000000000..ba5acd9d878 --- /dev/null +++ b/games/mirrormagic-sdl/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.1 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; 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; -- cgit v1.2.3