diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2025-03-02 11:44:39 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2025-03-02 11:44:39 +0000 |
| commit | 66aaf10e2abc83ece63150bef9ecc0108d20a898 (patch) | |
| tree | 010d14f487661117d813cf0ac5f04123bdb274d4 | |
| parent | 5d2d912c7d8b1f35a8bd5b2f32b096bb161e0289 (diff) | |
games/shaaft: Remove expired port
2025-03-02 games/shaaft: Unmaintained upstream for ages, breaks with modern toolchains
| -rw-r--r-- | MOVED | 1 | ||||
| -rw-r--r-- | games/Makefile | 1 | ||||
| -rw-r--r-- | games/shaaft/Makefile | 48 | ||||
| -rw-r--r-- | games/shaaft/distinfo | 2 | ||||
| -rw-r--r-- | games/shaaft/files/patch-HashString.h | 20 | ||||
| -rw-r--r-- | games/shaaft/files/patch-PNG.cpp | 20 | ||||
| -rw-r--r-- | games/shaaft/files/patch-ResourceManager.cpp | 10 | ||||
| -rw-r--r-- | games/shaaft/files/patch-Value.hpp | 12 | ||||
| -rw-r--r-- | games/shaaft/files/patch-utilsgl_gl++.hpp | 15 | ||||
| -rw-r--r-- | games/shaaft/pkg-descr | 1 |
10 files changed, 1 insertions, 129 deletions
@@ -4187,3 +4187,4 @@ sysutils/fluxengine||2025-03-01|Has expired: Broken for several months textproc/py-pyjade||2025-03-01|Has expired: Upstream is inactive for almost 8.5 years math/parmetis||2025-03-01|Has expired: Fails to fetch, unmaintained for years in tree math/pspp||2025-03-01|Has expired: Listed as broken for more than 5 months +games/shaaft||2025-03-02|Has expired: Unmaintained upstream for ages, breaks with modern toolchains diff --git a/games/Makefile b/games/Makefile index a18ec83e29c7..2c13aec1255b 100644 --- a/games/Makefile +++ b/games/Makefile @@ -912,7 +912,6 @@ SUBDIR += sets SUBDIR += sex SUBDIR += sgt-puzzles - SUBDIR += shaaft SUBDIR += shockolate SUBDIR += shootingstar SUBDIR += simplevaders diff --git a/games/shaaft/Makefile b/games/shaaft/Makefile deleted file mode 100644 index 88eebaab8ac7..000000000000 --- a/games/shaaft/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -PORTNAME= shaaft -PORTVERSION= 0.5.0 -PORTREVISION= 27 -CATEGORIES= games -MASTER_SITES= SF/criticalmass/OldFiles -DISTNAME= Shaaft-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= OpenGL 3D falling block game similar to Blockout - -DEPRECATED= Unmaintained upstream for ages, breaks with modern toolchains -EXPIRATION_DATE=2025-03-02 - -LIB_DEPENDS= libpng.so:graphics/png - -CONFLICTS= criticalmass - -USES= gl sdl tar:bzip2 -USE_SDL= mixer image sdl -USE_GL= gl -USE_GCC= yes -USE_CXXSTD= gnu++98 -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -CONFIGURE_ARGS= --disable-optimize - -CFLAGS+= -fpermissive -CPPFLAGS+= $$(libpng-config --I_opts) -LDFLAGS+= $$(libpng-config --L_opts) - -DATADIR= ${PREFIX}/share/Shaaft - -PLIST_FILES= bin/Packer bin/shaaft %%DATADIR%%/resource.dat \ - share/man/man6/shaaft.6.gz - -DESKTOP_ENTRIES="Shaaft" "" "" "${PORTNAME}" "" "" - -post-patch: - @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \ - s|^CXXFLAGS|#CXXFLAGS|g ; \ - s|/usr/X11R6|${LOCALBASE}|g ; \ - s|-lSDL | |g ; \ - s|-lpng12|-lpng|g' ${WRKSRC}/configure - @${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ - 's|SDL/SDL|SDL|g' - @${REINPLACE_CMD} -e 's|== 3|>= 3|' ${WRKSRC}/utils/hashMap.hpp - -.include <bsd.port.mk> diff --git a/games/shaaft/distinfo b/games/shaaft/distinfo deleted file mode 100644 index 0cae2b15fb4a..000000000000 --- a/games/shaaft/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (Shaaft-0.5.0.tar.bz2) = db8040c4fee36da9ec9653fd6c04ffb21112c4c9c2297ee66f08b94efa61dc80 -SIZE (Shaaft-0.5.0.tar.bz2) = 512996 diff --git a/games/shaaft/files/patch-HashString.h b/games/shaaft/files/patch-HashString.h deleted file mode 100644 index 532ace0118a4..000000000000 --- a/games/shaaft/files/patch-HashString.h +++ /dev/null @@ -1,20 +0,0 @@ ---- utils/HashString.hpp.orig Tue Aug 17 16:17:33 2004 -+++ utils/HashString.hpp Tue Aug 17 16:18:12 2004 -@@ -21,7 +21,7 @@ - - namespace HASH_NAMESPACE - { -- struct hash<const string> -+ template <> struct hash<const string> - { - //a simple hash function for string - int operator()(const string & s) const -@@ -32,7 +32,7 @@ - } - }; - -- struct hash<string> -+ template <> struct hash<string> - { - //a simple hash function for string - int operator()(string s) const diff --git a/games/shaaft/files/patch-PNG.cpp b/games/shaaft/files/patch-PNG.cpp deleted file mode 100644 index 92417be1dfe0..000000000000 --- a/games/shaaft/files/patch-PNG.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- utilssdl/PNG.cpp.orig 2003-03-03 02:32:18 UTC -+++ utilssdl/PNG.cpp -@@ -45,7 +45,7 @@ void PNG::writeData( png_structp png, pn - { - png_uint_32 check; - -- check = fwrite( data, 1, length, (FILE *)(png->io_ptr)); -+ check = fwrite( data, 1, length, (FILE *)(png_get_io_ptr(png))); - if( check != length) - { - png_error( png, "Write Error"); -@@ -72,7 +72,7 @@ bool PNG::init( FILE *fp, int width, int - return false; - } - -- if( setjmp(_png->jmpbuf)) -+ if( setjmp(png_jmpbuf(_png))) - { - fclose( fp); - png_destroy_write_struct(&_png, (png_infopp)NULL); diff --git a/games/shaaft/files/patch-ResourceManager.cpp b/games/shaaft/files/patch-ResourceManager.cpp deleted file mode 100644 index 8414bfca04d4..000000000000 --- a/games/shaaft/files/patch-ResourceManager.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- utils/ResourceManager.cpp.orig -+++ utils/ResourceManager.cpp -@@ -13,6 +13,7 @@ - // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details - // - #include <unistd.h> -+#include <cstring> - #include <iomanip> - #include <dirent.h> - #include <sys/types.h> diff --git a/games/shaaft/files/patch-Value.hpp b/games/shaaft/files/patch-Value.hpp deleted file mode 100644 index 38c7fa726b3f..000000000000 --- a/games/shaaft/files/patch-Value.hpp +++ /dev/null @@ -1,12 +0,0 @@ ---- utils/Value.hpp.orig 2013-11-30 21:16:05.000000000 +0900 -+++ utils/Value.hpp 2013-11-30 21:16:35.000000000 +0900 -@@ -15,7 +15,8 @@ - #ifndef _Value_hpp_ - #define _Value_hpp_ - --#include <stdio.h> -+#include <cstdio> -+#include <cstdlib> - #include <string> - - #include <Trace.hpp> diff --git a/games/shaaft/files/patch-utilsgl_gl++.hpp b/games/shaaft/files/patch-utilsgl_gl++.hpp deleted file mode 100644 index aae454102b59..000000000000 --- a/games/shaaft/files/patch-utilsgl_gl++.hpp +++ /dev/null @@ -1,15 +0,0 @@ ---- utilsgl/gl++.hpp.orig 2004-01-01 04:32:28 UTC -+++ utilsgl/gl++.hpp -@@ -27,12 +27,6 @@ - # if defined(_WIN64) - typedef __int64 GLintptrARB; - typedef __int64 GLsizeiptrARB; --# elif defined(__ia64__) || defined(__x86_64__) -- typedef long int GLintptrARB; -- typedef long int GLsizeiptrARB; --# else -- typedef int GLintptrARB; -- typedef int GLsizeiptrARB; - # endif - #endif - diff --git a/games/shaaft/pkg-descr b/games/shaaft/pkg-descr deleted file mode 100644 index be2bed6aeab7..000000000000 --- a/games/shaaft/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -Shaaft is an OpenGL 3D falling block game similar to Blockout. |
