diff options
| author | Daniel Engberg <diizzy@FreeBSD.org> | 2026-10-04 20:12:27 +0000 |
|---|---|---|
| committer | Daniel Engberg <diizzy@FreeBSD.org> | 2026-10-04 20:28:06 +0000 |
| commit | 1afa88031110d2859d5167c5ee422fc580aba2a0 (patch) | |
| tree | 96b32143420726ea8a78bec5e59de3602d3d1875 | |
| parent | e49f5af7b1d4e6db5cd478e5799dd846fb02dd58 (diff) | |
games/frogatto: Remove from tree
Broken for than a year in tree and no attempts of fixing it
| -rw-r--r-- | MOVED | 1 | ||||
| -rw-r--r-- | games/Makefile | 1 | ||||
| -rw-r--r-- | games/frogatto/Makefile | 63 | ||||
| -rw-r--r-- | games/frogatto/distinfo | 2 | ||||
| -rw-r--r-- | games/frogatto/files/patch-Makefile | 38 | ||||
| -rw-r--r-- | games/frogatto/files/patch-boost-1.70 | 37 | ||||
| -rw-r--r-- | games/frogatto/files/patch-src-code_editor_dialog.cpp | 11 | ||||
| -rw-r--r-- | games/frogatto/files/patch-src-filesystem.cpp | 37 | ||||
| -rw-r--r-- | games/frogatto/files/patch-src-surface_cache.cpp | 11 | ||||
| -rw-r--r-- | games/frogatto/files/patch-src-texture.hpp | 11 | ||||
| -rw-r--r-- | games/frogatto/pkg-descr | 9 |
11 files changed, 1 insertions, 220 deletions
@@ -5723,3 +5723,4 @@ devel/cpp-netlib||2026-10-04|Broken for more than a year and upstream is inactiv devel/eclipse-titan||2026-10-04|Broken for more than a year in tree devel/xeus-cling||2026-10-04|Broken for years in tree dns/dog||2026-10-04|Broken for years in tree and upstream is inactive +games/frogatto||2026-10-04|Broken for than a year in tree diff --git a/games/Makefile b/games/Makefile index 420dc5a378e9..3a85da19b8d2 100644 --- a/games/Makefile +++ b/games/Makefile @@ -302,7 +302,6 @@ SUBDIR += fretsonfire-data SUBDIR += frikqcc SUBDIR += frobtads - SUBDIR += frogatto SUBDIR += frotz SUBDIR += frozen-bubble SUBDIR += fs2open diff --git a/games/frogatto/Makefile b/games/frogatto/Makefile deleted file mode 100644 index a08247d32c9f..000000000000 --- a/games/frogatto/Makefile +++ /dev/null @@ -1,63 +0,0 @@ -PORTNAME= frogatto -PORTVERSION= 1.3.1 -PORTREVISION= 36 -CATEGORIES= games - -MAINTAINER= fiziologus@gmail.com -COMMENT= Old-school 2D classic adventure platformer game -WWW= https://www.frogatto.com/ - -LICENSE= FROGATTO GPLv3 -LICENSE_COMB= multi -LICENSE_NAME_FROGATTO= Frogatto license -LICENSE_FILE_FROGATTO= ${WRKSRC}/LICENSE -LICENSE_FILE_GPLv3= ${WRKSRC}/src/LICENSE -LICENSE_PERMS_FROGATTO= dist-mirror pkg-mirror auto-accept - -BROKEN= fails to build with Boost>=1.87 - -LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ - libpng.so:graphics/png - -USES= compiler:c++11-lang dos2unix gl gmake pkgconfig sdl -ALL_TARGET= game server -USE_GITHUB= yes -USE_GL= glew glu -USE_SDL= sdl image mixer ttf -USE_CXXSTD= c++11 -DOS2UNIX_FILES= src/surface_cache.cpp - -PLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}-server - -post-patch: - @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's,%lu,%u,' ${WRKSRC}/src/server.cpp - @${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__,' \ - ${WRKSRC}/src/clipboard.cpp -# Point to the right location where to look for resources on FreeBSD - @${REINPLACE_CMD} -e 's,HAVE_CONFIG_H,__FreeBSD__,' \ - -e 's,DATADIR,"${DATADIR}",' ${WRKSRC}/src/filesystem.cpp - @${REINPLACE_CMD} -e 's,itor->second,"${DATADIR}/" + &,' \ - ${WRKSRC}/src/sound.cpp - @${REINPLACE_CMD} -e '/\/locale\//s,\.,${PREFIX}/share,' \ - ${WRKSRC}/src/i18n.cpp - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/game ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - ${INSTALL_PROGRAM} ${WRKSRC}/server \ - ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-server - cd ${WRKSRC}/modules/frogatto/locale && \ - ${MV} hu_HU hu && ${MV} ms_MY ms - cd ${WRKSRC}/modules/frogatto && ${COPYTREE_SHARE} \ - locale ${STAGEDIR}${PREFIX}/share - cd ${WRKSRC} && ${COPYTREE_SHARE} "data images music modules utils" \ - ${STAGEDIR}${DATADIR} - cd ${WRKSRC} && ${INSTALL_DATA} *.ttf *.cfg ${STAGEDIR}${DATADIR} -# Dynamically generate part of the PLIST for NLS files and game resources -# (really lots of them) - @${FIND} ${STAGEDIR}${PREFIX}/share/locale -name ${PORTNAME}.mo | \ - ${SED} 's,^${STAGEDIR}${PREFIX}/,,' | ${SORT} >> ${TMPPLIST} - @${FIND} ${STAGEDIR}${DATADIR} -not -type d | \ - ${SED} 's,^${STAGEDIR}${PREFIX}/,,' | ${SORT} >> ${TMPPLIST} - -.include <bsd.port.mk> diff --git a/games/frogatto/distinfo b/games/frogatto/distinfo deleted file mode 100644 index 3fcb7b685dca..000000000000 --- a/games/frogatto/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (frogatto-frogatto-1.3.1_GH0.tar.gz) = 23c167d5c2510d059e34cf4ec42bfe6e8c83cb934f1573d7c141c182ca1c9c17 -SIZE (frogatto-frogatto-1.3.1_GH0.tar.gz) = 500369477 diff --git a/games/frogatto/files/patch-Makefile b/games/frogatto/files/patch-Makefile deleted file mode 100644 index de5962f8035f..000000000000 --- a/games/frogatto/files/patch-Makefile +++ /dev/null @@ -1,38 +0,0 @@ ---- Makefile.orig 2012-12-08 22:36:13 UTC -+++ Makefile -@@ -22,7 +22,7 @@ - # found in PATH), this option has no effect. - # - --OPTIMIZE=yes -+OPTIMIZE=no - CCACHE?=ccache - USE_CCACHE?=$(shell which $(CCACHE) 2>&1 > /dev/null && echo yes) - ifneq ($(USE_CCACHE),yes) -@@ -34,7 +34,7 @@ BASE_CXXFLAGS += -O2 - endif - - # Initial compiler options, used before CXXFLAGS and CPPFLAGS. --BASE_CXXFLAGS += -g -fno-inline-functions -fthreadsafe-statics -Wnon-virtual-dtor -Werror -Wignored-qualifiers -Wformat -Wswitch -+BASE_CXXFLAGS += -fno-inline-functions -fthreadsafe-statics -Wnon-virtual-dtor -Werror -Wformat -Wswitch -Wno-narrowing - - # Compiler include options, used after CXXFLAGS and CPPFLAGS. - INC := $(shell pkg-config --cflags x11 sdl glu glew SDL_image libpng zlib) -@@ -60,7 +60,7 @@ game: $(objects) - $(CCACHE) $(CXX) \ - $(BASE_CXXFLAGS) $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INC) \ - $(objects) -o game \ -- $(LIBS) -lboost_regex-mt -lboost_system-mt -lpthread -fthreadsafe-statics -+ $(LIBS) -lboost_regex -lboost_system -lpthread -fthreadsafe-statics - - # pull in dependency info for *existing* .o files - -include $(objects:.o=.d) -@@ -69,7 +69,7 @@ server: $(server_objects) - $(CCACHE) $(CXX) \ - $(BASE_CXXFLAGS) $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) \ - $(server_objects) -o server \ -- $(LIBS) -lboost_regex-mt -lboost_system-mt -lboost_thread-mt -lboost_iostreams-mt -+ $(LIBS) -lboost_regex -lboost_system -lboost_thread -lboost_iostreams - - clean: - rm -f *.o *.d game diff --git a/games/frogatto/files/patch-boost-1.70 b/games/frogatto/files/patch-boost-1.70 deleted file mode 100644 index 6d26f90a6fc8..000000000000 --- a/games/frogatto/files/patch-boost-1.70 +++ /dev/null @@ -1,37 +0,0 @@ -src/http_server.cpp:34:46: error: no member named 'get_io_service' in - 'boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::executor>' - socket_ptr socket(new tcp::socket(acceptor_.get_io_service())); - ~~~~~~~~~ ^ -src/server.cpp:40:47: error: no member named 'get_io_service' in - 'boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::executor>' - socket_ptr socket(new tcp::socket(acceptor_.get_io_service())); - ~~~~~~~~~ ^ - ---- src/http_server.cpp.orig 2012-12-08 22:36:13 UTC -+++ src/http_server.cpp -@@ -31,7 +31,11 @@ web_server::web_server(boost::asio::io_service& io_ser - - void web_server::start_accept() - { -+#if BOOST_VERSION < 107000 - socket_ptr socket(new tcp::socket(acceptor_.get_io_service())); -+#else -+ socket_ptr socket(new tcp::socket(acceptor_.get_executor())); -+#endif - acceptor_.async_accept(*socket, boost::bind(&web_server::handle_accept, this, socket, boost::asio::placeholders::error)); - - } ---- src/server.cpp.orig 2012-12-08 22:36:13 UTC -+++ src/server.cpp -@@ -37,7 +37,11 @@ class server (public) - private: - void start_accept() - { -+#if BOOST_VERSION < 107000 - socket_ptr socket(new tcp::socket(acceptor_.get_io_service())); -+#else -+ socket_ptr socket(new tcp::socket(acceptor_.get_executor())); -+#endif - acceptor_.async_accept(*socket, boost::bind(&server::handle_accept, this, socket, boost::asio::placeholders::error)); - } - diff --git a/games/frogatto/files/patch-src-code_editor_dialog.cpp b/games/frogatto/files/patch-src-code_editor_dialog.cpp deleted file mode 100644 index 37fa72cbf600..000000000000 --- a/games/frogatto/files/patch-src-code_editor_dialog.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/code_editor_dialog.cpp.orig 2018-06-16 12:59:49.843741000 +0300 -+++ src/code_editor_dialog.cpp 2018-06-16 13:01:13.695918000 +0300 -@@ -55,7 +55,7 @@ - - //std::cerr << "CED: " << x() << "," << y() << "; " << width() << "," << height() << std::endl; - drag_widget* dragger = new drag_widget(x(), y(), width(), height(), -- drag_widget::DRAG_HORIZONTAL, NULL, -+ drag_widget::DRAG_HORIZONTAL, [](int, int){}, - boost::bind(&code_editor_dialog::on_drag_end, this, _1, _2), - boost::bind(&code_editor_dialog::on_drag, this, _1, _2)); - diff --git a/games/frogatto/files/patch-src-filesystem.cpp b/games/frogatto/files/patch-src-filesystem.cpp deleted file mode 100644 index 5df5a5f3f15f..000000000000 --- a/games/frogatto/files/patch-src-filesystem.cpp +++ /dev/null @@ -1,37 +0,0 @@ ---- src/filesystem.cpp.orig 2012-12-08 22:36:13 UTC -+++ src/filesystem.cpp -@@ -405,8 +405,14 @@ void get_files_in_dir(const std::string& - } - #else - struct stat st; -+ std::string dirname; - -- DIR* dir = opendir(directory.c_str()); -+ if(have_datadir) -+ dirname = data_dir + "/" + directory; -+ else -+ dirname = directory; -+ -+ DIR* dir = opendir(dirname.c_str()); - - if(dir == NULL) { - return; -@@ -437,14 +443,14 @@ void get_files_in_dir(const std::string& - #endif /* !APPLE */ - - std::string fullname; -- if (directory.empty() || directory[directory.size()-1] == '/' -+ if (dirname.empty() || dirname[dirname.size()-1] == '/' - #ifdef __AMIGAOS4__ -- || (directory[directory.size()-1]==':') -+ || (dirname[dirname.size()-1]==':') - #endif /* __AMIGAOS4__ */ - ) -- fullname = directory + basename; -+ fullname = dirname + basename; - else -- fullname = (directory + "/") + basename; -+ fullname = (dirname + "/") + basename; - - if (::stat(fullname.c_str(), &st) != -1) { - if (S_ISREG(st.st_mode)) { diff --git a/games/frogatto/files/patch-src-surface_cache.cpp b/games/frogatto/files/patch-src-surface_cache.cpp deleted file mode 100644 index 7f3d8a8781dd..000000000000 --- a/games/frogatto/files/patch-src-surface_cache.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/surface_cache.cpp.orig 2018-06-16 13:59:29.319430000 +0300 -+++ src/surface_cache.cpp 2018-06-16 14:00:09.140102000 +0300 -@@ -116,7 +116,7 @@ - } - #endif // ANDROID - //std::cerr << "loading image '" << fname << "'\n"; -- if(surf.get() == false || surf->w == 0) { -+ if(surf.get() == nullptr || surf->w == 0) { - if(key != "") { - std::cerr << "failed to load image '" << key << "'\n"; - } diff --git a/games/frogatto/files/patch-src-texture.hpp b/games/frogatto/files/patch-src-texture.hpp deleted file mode 100644 index eb4210b32904..000000000000 --- a/games/frogatto/files/patch-src-texture.hpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/texture.hpp.orig 2018-06-16 11:06:31.462187000 +0300 -+++ src/texture.hpp 2018-06-16 11:11:11.775394000 +0300 -@@ -58,7 +58,7 @@ - unsigned int get_id() const; - static void set_current_texture(unsigned int id); - void set_as_current_texture() const; -- bool valid() const { return id_; } -+ bool valid() const { return static_cast<bool>(id_); } - - static texture get(const std::string& str, int options=0); - static texture get(const std::string& str, const std::string& algorithm); diff --git a/games/frogatto/pkg-descr b/games/frogatto/pkg-descr deleted file mode 100644 index 0cfccfb8d917..000000000000 --- a/games/frogatto/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -Frogatto is a "platformer", or "jump-and-run" videogame. Like many classic -games, the world is viewed as a cross-section seen from the side, and your -character walks and jumps between solid platforms, whilst avoiding monsters. - -Frogatto is not a clone of any specific game; although, being a platformer, -it is impossible not to have something in common with titles like Mario or -Sonic, but authors are trying to innovate a bit. - -Frogatto is also the protagonist's name. It's eponymous. |
