1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Fix build with gcc 4.2

- Pass maintainership to submitter

PR:		117731
Submitted by:	Dmitry Marakasov <amdmi3@amdmi3.ru>
Approved by:	portmgr (pav)
This commit is contained in:
Martin Wilke 2007-11-05 11:20:01 +00:00
parent 543d7d41ba
commit c93026b6a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202518
2 changed files with 18 additions and 8 deletions

View File

@ -9,15 +9,21 @@ PORTNAME= mirrormagic
PORTVERSION= 2.0.2
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.artsoft.org/RELEASES/unix/mirrormagic/
MASTER_SITES= http://www.artsoft.org/RELEASES/unix/mirrormagic/ \
http://www.amdmi3.ru/distfiles/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= amdmi3@amdmi3.ru
COMMENT= An arcade style game with stereo sound for X Window System
USE_GMAKE= yes
MAKE_ARGS= CC="${CC}" MAKE="${GMAKE}" OPTIONS="${CFLAGS}" \
RO_GAME_DIR="${DATADIR}" RW_GAME_DIR="${DATADIR}/scores" \
X11_PATH="${X11BASE}"
WANT_SDL= yes
OPTIONS= SDL "SDL support" on
.include <bsd.port.pre.mk>
.if defined(WITH_SDL)
USE_SDL= image mixer sdl
@ -27,12 +33,6 @@ USE_XLIB= yes
ALL_TARGET= x11
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|$$(SDL_CONFIG)|g' \
${WRKSRC}/src/Makefile

View File

@ -0,0 +1,10 @@
--- src/main.h.orig Sat Jun 7 20:04:37 2003
+++ src/main.h Thu Nov 1 02:12:04 2007
@@ -459,7 +459,6 @@
#endif
extern struct HiScore highscore[];
extern struct TapeInfo tape;
-extern struct JoystickInfo joystick[];
extern struct SetupInfo setup;
extern struct GameInfo game;
extern struct LaserInfo laser;