diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-08-07 09:57:52 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-08-07 09:57:52 +0000 |
commit | 470a75ab9280cfc691a2d70aa297126cf634e513 (patch) | |
tree | 2eb25a7cf4664453cb5f4a29a47392f30ecff978 /games | |
parent | 601f491be347630b8b9c39891b5bd46f8dda88b6 (diff) | |
download | ports-470a75ab9280cfc691a2d70aa297126cf634e513.tar.gz ports-470a75ab9280cfc691a2d70aa297126cf634e513.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/maelstrom/Makefile | 9 | ||||
-rw-r--r-- | games/maelstrom/distinfo | 2 | ||||
-rw-r--r-- | games/maelstrom/files/patch-aa | 11 | ||||
-rw-r--r-- | games/maelstrom/files/patch-ad | 13 |
4 files changed, 14 insertions, 21 deletions
diff --git a/games/maelstrom/Makefile b/games/maelstrom/Makefile index 9e95376ca50c..3a725ad3a767 100644 --- a/games/maelstrom/Makefile +++ b/games/maelstrom/Makefile @@ -6,20 +6,21 @@ # PORTNAME= maelstrom -PORTVERSION= 3.0.1 -PORTREVISION= 1 +PORTVERSION= 3.0.5 CATEGORIES= games MASTER_SITES= http://www.devolution.com/~slouken/projects/Maelstrom/src/ DISTNAME= Maelstrom-${PORTVERSION} MAINTAINER= sobomax@FreeBSD.org -LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl10 +LIB_DEPENDS= SDL_net.0:${PORTSDIR}/net/sdl_net + +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config USE_X_PREFIX= yes USE_XPM= yes -USE_NEWGCC= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" .if !defined(NOPORTDOCS) INSTALL_TARGET= install install_gamedocs diff --git a/games/maelstrom/distinfo b/games/maelstrom/distinfo index 6b0c74fcbcd3..1fa97055aaf5 100644 --- a/games/maelstrom/distinfo +++ b/games/maelstrom/distinfo @@ -1 +1 @@ -MD5 (Maelstrom-3.0.1.tar.gz) = 88f80726771766285b1397d1b73205b2 +MD5 (Maelstrom-3.0.5.tar.gz) = ceb9689e652c058b9d215531d7de7d4a diff --git a/games/maelstrom/files/patch-aa b/games/maelstrom/files/patch-aa deleted file mode 100644 index 8b26fe1b3b7b..000000000000 --- a/games/maelstrom/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- netlogic/netplay.cpp.orig Mon Mar 13 20:51:15 2000 -+++ netlogic/netplay.cpp Mon Mar 13 20:52:10 2000 -@@ -39,7 +39,7 @@ - #define RESET_ERRNO() errno = 0 - #endif /* WIN32 */ - --#if !defined(linux) && !defined(__SVR4) -+#if !defined(linux) && !defined(__SVR4) && !defined(__FreeBSD__) - typedef int socklen_t; - #endif - diff --git a/games/maelstrom/files/patch-ad b/games/maelstrom/files/patch-ad index 4fc0f1d16d3d..f2901f0d98d4 100644 --- a/games/maelstrom/files/patch-ad +++ b/games/maelstrom/files/patch-ad @@ -1,11 +1,14 @@ ---- controls.cpp.orig Sun Jan 28 15:51:37 2001 -+++ controls.cpp Sun Jan 28 15:51:49 2001 -@@ -89,7 +89,7 @@ + +$FreeBSD$ + +--- controls.cpp.orig Sat Mar 24 20:04:28 2001 ++++ controls.cpp Tue Aug 7 12:32:08 2001 +@@ -83,7 +83,7 @@ if ( fname ) { *fname = datafile; } -- sprintf(datafile, "%s/%s", home, MAELSTROM_DATA); -+ snprintf(datafile, sizeof(datafile), "%s/%s", home, MAELSTROM_DATA); +- sprintf(datafile, "%s"DIR_SEP"%s", home, MAELSTROM_DATA); ++ snprintf(datafile, sizeof(datafile), "%s"DIR_SEP"%s", home, MAELSTROM_DATA); if ( (data=fopen(datafile, mode)) == NULL ) return(NULL); return(data); |