diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile index 153e65997b04..3c0c234da4bf 100644 --- a/games/wesnoth/Makefile +++ b/games/wesnoth/Makefile @@ -1,137 +1,129 @@ PORTNAME= wesnoth -PORTVERSION= 1.18.3 -PORTREVISION= 4 +PORTVERSION= 1.18.4 PORTEPOCH= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION} \ http://files.wesnoth.org/ \ http://ports.toco-domains.de/ -PATCH_SITES+= https://github.com/wesnoth/wesnoth/commit/ -PATCHFILES+= e8271cd1387e05eca3342da3584a64adb1aae7d8.patch:-p1 -PATCHFILES+= 37ee134d7a17f509982f6ba4fda60a6b1e9acc72.patch:-p1 - +#PATCH_SITES+= https://github.com/wesnoth/wesnoth/commit/ MAINTAINER= fluffy@FreeBSD.org COMMENT= Fantasy turn-based strategy game WWW= https://www.wesnoth.org/ LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ libvorbisfile.so:audio/libvorbis \ libboost_thread.so:devel/boost-libs \ libcurl.so:ftp/curl \ libpng.so:graphics/png \ libfontconfig.so:x11-fonts/fontconfig \ libicudata.so:devel/icu \ libharfbuzz.so:print/harfbuzz USES= cmake compiler:c++17-lang cpe desktop-file-utils \ gnome lua:54 pkgconfig python:run \ readline shebangfix ssl sdl tar:bzip2 xorg USE_SDL= image2 mixer2 ttf2 USE_GNOME= cairo pango USE_XORG= ice sm x11 xext LDFLAGS+= -lboost_system -lpthread PORTSCOUT= limitw:1,even SHEBANG_FILES= data/tools/about_cfg_to_wiki \ data/tools/addon_manager/__init__.py \ data/tools/addon_manager/html.py \ data/tools/check_mixed_indent \ data/tools/expand-terrain-macros.py \ data/tools/extractbindings data/tools/imgcheck \ data/tools/GUI.pyw \ data/tools/hexometer.py \ data/tools/steam-changelog \ data/tools/TeamColorizer \ data/tools/trackviewer.pyw \ data/tools/terrain2wiki.py \ data/tools/tmx_trackplacer \ data/tools/unit_tree/__init__.py \ data/tools/unit_tree/animations.py \ data/tools/unit_tree/helpers.py \ data/tools/unit_tree/html_output.py \ data/tools/unit_tree/overview.py \ data/tools/unit_tree/team_colorizer.py \ data/tools/unit_tree/update-wmlunits \ data/tools/unit_tree/wiki_output.py \ data/tools/wesnoth/campaignserver_client.py \ data/tools/wesnoth/libgithub.py \ data/tools/wesnoth/trackplacer3/cfgfileformat.py \ data/tools/wesnoth/trackplacer3/datatypes.py \ data/tools/wesnoth/trackplacer3/tmxfileformat.py \ data/tools/wesnoth/version.py \ data/tools/wesnoth/wescamp.py \ data/tools/wesnoth/wmldata.py \ data/tools/wesnoth/wmliterator3.py \ data/tools/wesnoth/wmlparser.py \ data/tools/wesnoth/wmlparser3.py \ data/tools/wesnoth/wmltools3.py \ data/tools/wesnoth_addon_manager \ data/tools/wmlflip \ data/tools/wmlindent \ data/tools/wmllint \ data/tools/wmllint-1.4 \ data/tools/wmlunits \ data/tools/wmlscope \ data/tools/wmlxgettext \ po/FINDCPP \ po/FINDPY \ run_boost_tests \ run_wml_tests \ update_copyrights \ utils/ai_test/ai_test.py \ utils/compare_images.py \ utils/dockerbuilds/mingw/get_dlls.py \ utils/git_export_campaign \ utils/optiwebp.py \ utils/po_stat.py \ utils/pofix.py \ utils/unused_functions.py \ utils/update_appdata \ utils/update_copyright.py \ utils/woptipng.py CPE_VENDOR= ${PORTNAME} CPE_PRODUCT= battle_for_wesnoth CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=${PREFIX}/share/man \ -DENABLE_STRICT_COMPILATION=off PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= CAMPAIGN DOCS FRIBIDI NLS \ NOTIFY SERVER TEST OPTIONS_DEFAULT= CAMPAIGN FRIBIDI NOTIFY SERVER OPTIONS_SUB= yes CAMPAIGN_DESC= Campaign server CAMPAIGN_CMAKE_ON=-DENABLE_CAMPAIGN_SERVER=on DOCS_CMAKE_OFF= -DDOCDIR=none FRIBIDI_DESC= Bidirectional support FRIBIDI_LIB_DEPENDS=libfribidi.so:converters/fribidi FRIBIDI_CMAKE_OFF=-DENABLE_FRIBIDI=off NLS_USES= gettext NLS_CMAKE_ON= -DLOCALEDIR=${PREFIX}/share/locale NLS_CMAKE_OFF= -DENABLE_NLS=off NOTIFY_DESC= Desktop notifications NOTIFY_LIB_DEPENDS=libdbus-1.so:devel/dbus NOTIFY_CMAKE_OFF=-DENABLE_NOTIFICATIONS=off SERVER_DESC= Server SERVER_CMAKE_OFF=-DENABLE_SERVER=off TEST_CMAKE_ON= -DENABLE_TESTS=on -post-patch: - @${REINPLACE_CMD} -e "s,def = NULL,def = 0," \ - ${WRKSRC}/src/utils/config_filters.hpp - #post-install: # ${FIND} ${STAGEDIR}${PREFIX}/man -type d -empty -delete .include diff --git a/games/wesnoth/distinfo b/games/wesnoth/distinfo index 52948d862923..6418b57ed02c 100644 --- a/games/wesnoth/distinfo +++ b/games/wesnoth/distinfo @@ -1,7 +1,3 @@ -TIMESTAMP = 1739483659 -SHA256 (wesnoth-1.18.3.tar.bz2) = d2d07aae5fd8d09509b8137034e4648cc5c356188a5dbd785831511728d1eb7e -SIZE (wesnoth-1.18.3.tar.bz2) = 461694247 -SHA256 (e8271cd1387e05eca3342da3584a64adb1aae7d8.patch) = 08c5451a24e0c7f6782f079f82d0a54e2068371a67b50e55dc5f11c6240a7e35 -SIZE (e8271cd1387e05eca3342da3584a64adb1aae7d8.patch) = 6873 -SHA256 (37ee134d7a17f509982f6ba4fda60a6b1e9acc72.patch) = f3603444fdf386698f1ebb6e2a15d1453fc1b35273a48836eb99135aac7b0696 -SIZE (37ee134d7a17f509982f6ba4fda60a6b1e9acc72.patch) = 10222 +TIMESTAMP = 1741648592 +SHA256 (wesnoth-1.18.4.tar.bz2) = 2b95351729fcf1384d521d540aa0adfc80a9be2991aa4791f3b090678e4364ae +SIZE (wesnoth-1.18.4.tar.bz2) = 461847477 diff --git a/games/wesnoth/files/patch-src_filesystem.hpp b/games/wesnoth/files/patch-src_filesystem.hpp new file mode 100644 index 000000000000..570850ac9575 --- /dev/null +++ b/games/wesnoth/files/patch-src_filesystem.hpp @@ -0,0 +1,10 @@ +--- src/filesystem.hpp.orig 2025-02-17 21:50:08 UTC ++++ src/filesystem.hpp +@@ -21,6 +21,7 @@ + #pragma once + + #include ++#include + #include + #include + #include