diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-08-07 17:57:52 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-08-07 17:57:52 +0800 |
commit | 916926fe8afed1e133689c979e2cba4ea2b3ec40 (patch) | |
tree | 14070c9bc287f0f8802a7e9497fe282ec5fac0ea /games/maelstrom/files | |
parent | be34e3b1d7780302bf3264504e4813a2164de47c (diff) | |
download | freebsd-ports-gnome-916926fe8afed1e133689c979e2cba4ea2b3ec40.tar.gz freebsd-ports-gnome-916926fe8afed1e133689c979e2cba4ea2b3ec40.tar.zst freebsd-ports-gnome-916926fe8afed1e133689c979e2cba4ea2b3ec40.zip |
Update to 3.0.5.
Diffstat (limited to 'games/maelstrom/files')
-rw-r--r-- | games/maelstrom/files/patch-aa | 11 | ||||
-rw-r--r-- | games/maelstrom/files/patch-ad | 13 |
2 files changed, 8 insertions, 16 deletions
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); |