On Sat, 21 Feb 2026 09:53:09 +0100
Phosit <[email protected]> wrote:

> > I can't see boost being used anymore and it's not picked up by port-
> > lib-depends-check. Same for libogg. Can't find any hint of them
> > being dlopen'd either.  
> 
> Libogg is used via vorbis.

Updated diff with devel/boost as BUILD_DEPENDS. libogg is pulled in as
it's a dependency of libvorbis, so it doesn't need to be explicitly
named in this port and will be available because libvorbis is installed.

ok?

Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/games/0ad/Makefile.inc,v
diff -u -p -r1.19 Makefile.inc
--- Makefile.inc        20 Jul 2025 13:18:58 -0000      1.19
+++ Makefile.inc        3 Mar 2026 05:22:07 -0000
@@ -2,9 +2,10 @@ ONLY_FOR_ARCHS =       amd64 i386
 
 CATEGORIES =           games
 
-V ?=                   0.27.1
+V ?=                   0.28.0
 
 HOMEPAGE =             https://play0ad.com/
+MAINTAINER =           Thomas Frohwein <[email protected]>
 
 SITES =                        https://releases.wildfiregames.com/ \
                        ${SITE_SOURCEFORGE:=zero-ad/}
Index: base/Makefile
===================================================================
RCS file: /cvs/ports/games/0ad/base/Makefile,v
diff -u -p -r1.57 Makefile
--- base/Makefile       16 Jan 2026 21:40:01 -0000      1.57
+++ base/Makefile       3 Mar 2026 05:22:07 -0000
@@ -2,30 +2,29 @@ COMMENT =             historical real-time strategy
 
 DISTNAME =             0ad-${V}-unix-build
 PKGNAME =              0ad-${V}
-REVISION =             1
 
 USE_NOBTCFI =          Yes
 
 SO_VERSION =           0.0
-SHARED_LIBS +=         mozjs115-release        ${SO_VERSION}
+SHARED_LIBS +=         mozjs128-release        ${SO_VERSION}
 
-WANTLIB += ${MODRUST_WANTLIB} ${COMPILER_LIBCXX} SDL2 X11 boost_filesystem
+WANTLIB += ${MODRUST_WANTLIB} ${COMPILER_LIBCXX} SDL2 X11
 WANTLIB += crypto curl enet execinfo fmt freetype gloox iconv
-WANTLIB += icudata icui18n icuuc idn m miniupnpc ogg openal
+WANTLIB += icudata icui18n icuuc idn m miniupnpc openal
 WANTLIB += png sodium ssl vorbis vorbisfile wx_gtk3u_gl-3.2 wx_gtk3u_xrc-3.2
 WANTLIB += wx_gtk3u_html-3.2 wx_gtk3u_qa-3.2 wx_gtk3u_core-3.2 wx_baseu-3.2
 WANTLIB += wx_baseu_net-3.2 wx_baseu_xml-3.2 xml2 z
 
 BUILD_DEPENDS =                archivers/gtar \
                        archivers/zip \
+                       devel/boost \
+                       devel/cbindgen \
                        devel/cmake/core \
                        shells/bash \
 
-LIB_DEPENDS =          audio/libogg \
-                       audio/libvorbis \
+LIB_DEPENDS =          audio/libvorbis \
                        audio/openal \
                        converters/libiconv \
-                       devel/boost \
                        devel/fmt \
                        devel/sdl2 \
                        graphics/png \
@@ -53,7 +52,7 @@ MAKE_ENV =            CC="${CC}" \
                        CXX="${CXX}" \
                        CFLAGS="${CFLAGS}" \
                        CXXFLAGS="${CXXFLAGS} -I${X11BASE}/include" \
-                       LDFLAGS="-L/usr/local/lib -liconv"
+                       LDFLAGS="-L${LOCALBASE}/lib -liconv"
 
 USE_GMAKE =            Yes
 
Index: base/distinfo
===================================================================
RCS file: /cvs/ports/games/0ad/base/distinfo,v
diff -u -p -r1.13 distinfo
--- base/distinfo       20 Jul 2025 13:18:59 -0000      1.13
+++ base/distinfo       3 Mar 2026 05:22:07 -0000
@@ -1,2 +1,2 @@
-SHA256 (0ad-0.27.1-unix-build.tar.xz) = 
oKU1XutZaNJPKDdwc2FQ2XTa/sugd1TUZicH3BcBa/s=
-SIZE (0ad-0.27.1-unix-build.tar.xz) = 153554512
+SHA256 (0ad-0.28.0-unix-build.tar.xz) = 
J+IXdV73apIv5Y2/WT2W5Utu0jddI/VIw1YZqmvVpCo=
+SIZE (0ad-0.28.0-unix-build.tar.xz) = 164975536
Index: base/patches/patch-build_premake_extern_libs5_lua
===================================================================
RCS file: base/patches/patch-build_premake_extern_libs5_lua
diff -N base/patches/patch-build_premake_extern_libs5_lua
--- base/patches/patch-build_premake_extern_libs5_lua   16 Jan 2026 21:40:01 
-0000      1.4
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-Don't link against boost_system to fix build with Boost 1.89
-
-Index: build/premake/extern_libs5.lua
---- build/premake/extern_libs5.lua.orig
-+++ build/premake/extern_libs5.lua
-@@ -249,7 +249,7 @@ extern_lib_defs = {
-                               -- The following are not strictly link 
dependencies on all systems, but
-                               -- are included for compatibility with 
different versions of Boost
-                               android_names = { "boost_filesystem-gcc-mt", 
"boost_system-gcc-mt" },
--                              unix_names = { 
os.findlib("boost_filesystem-mt") and "boost_filesystem-mt" or 
"boost_filesystem", os.findlib("boost_system-mt") and "boost_system-mt" or 
"boost_system" },
-+                              unix_names = { 
os.findlib("boost_filesystem-mt") and "boost_filesystem-mt" or 
"boost_filesystem" },
-                               osx_names = { "boost_filesystem", 
"boost_system" },
-                       })
-               end,
Index: base/patches/patch-libraries_source_fcollada_build_sh
===================================================================
RCS file: 
/cvs/ports/games/0ad/base/patches/patch-libraries_source_fcollada_build_sh,v
diff -u -p -r1.2 patch-libraries_source_fcollada_build_sh
--- base/patches/patch-libraries_source_fcollada_build_sh       20 Jul 2025 
13:19:01 -0000      1.2
+++ base/patches/patch-libraries_source_fcollada_build_sh       3 Mar 2026 
05:22:07 -0000
@@ -4,7 +4,7 @@ Index: libraries/source/fcollada/build.s
 @@ -7,6 +7,7 @@ cd "$(dirname "$0")"
  
  PV=28209
- LIB_VERSION=${PV}
+ LIB_VERSION=${PV}+wfg1
 +TAR=${TAR:-tar}
  
  fetch()
Index: base/patches/patch-libraries_source_spidermonkey_build_sh
===================================================================
RCS file: 
/cvs/ports/games/0ad/base/patches/patch-libraries_source_spidermonkey_build_sh,v
diff -u -p -r1.8 patch-libraries_source_spidermonkey_build_sh
--- base/patches/patch-libraries_source_spidermonkey_build_sh   20 Jul 2025 
13:19:01 -0000      1.8
+++ base/patches/patch-libraries_source_spidermonkey_build_sh   3 Mar 2026 
05:22:07 -0000
@@ -1,15 +1,15 @@
 Index: libraries/source/spidermonkey/build.sh
 --- libraries/source/spidermonkey/build.sh.orig
 +++ libraries/source/spidermonkey/build.sh
-@@ -10,6 +10,7 @@ FOLDER="mozjs-115.16.1"
+@@ -11,6 +11,7 @@ FOLDER="mozjs-${PV}"
  # If same-version changes are needed, increment this.
- LIB_VERSION="115.16.1+a27.1"
- LIB_NAME="mozjs115"
+ LIB_VERSION="${PV}+wfg4"
+ LIB_NAME="mozjs128"
 +TAR=${TAR:-tar}
  
- fetch()
+ build_archive()
  {
-@@ -160,7 +161,7 @@ else
+@@ -184,7 +185,7 @@ else
        LIB_SUFFIX=.so
        STATIC_LIB_SUFFIX=.a
        if [ "${OS}" = "OpenBSD" ]; then
@@ -18,7 +18,7 @@ Index: libraries/source/spidermonkey/bui
        elif [ "${OS}" = "Darwin" ]; then
                LIB_SUFFIX=.a
        fi
-@@ -190,7 +191,7 @@ fi
+@@ -208,7 +209,7 @@ fi
  mkdir include-release
  cp -R -L "${FOLDER}"/build-release/dist/include/* include-release/
  
@@ -27,12 +27,12 @@ Index: libraries/source/spidermonkey/bui
        mkdir include-debug
        cp -R -L "${FOLDER}"/build-debug/dist/include/* include-debug/
  fi
-@@ -222,7 +223,7 @@ elif [ "${OS}" = "Windows_NT" ]; then
+@@ -240,7 +241,7 @@ elif [ "${OS}" = "Windows_NT" ]; then
  else
        # Copy shared libs to lib/, they will also be copied to 
binaries/system, so the compiler and executable (resp.) can find them.
-       cp -L 
"${FOLDER}/build-${REL}/js/src/build/${LIB_PREFIX}${LIB_NAME}-${REL}${LIB_SUFFIX}"
 "lib/${LIB_PREFIX}${LIB_NAME}-${REL}${LIB_SUFFIX}"
+       cp -L 
"${FOLDER}/build-${REL}/dist/bin/${LIB_PREFIX}${LIB_NAME}-${REL}${LIB_SUFFIX}" 
"lib/${LIB_PREFIX}${LIB_NAME}-${REL}${LIB_SUFFIX}"
 -      if [ "${OS}" != "FreeBSD" ]; then
 +      if [ "${OS}" != "OpenBSD" ]; then
-               cp -L 
"${FOLDER}/build-${DEB}/js/src/build/${LIB_PREFIX}${LIB_NAME}-${DEB}${LIB_SUFFIX}"
 "lib/${LIB_PREFIX}${LIB_NAME}-${DEB}${LIB_SUFFIX}"
+               cp -L 
"${FOLDER}/build-${DEB}/dist/bin/${LIB_PREFIX}${LIB_NAME}-${DEB}${LIB_SUFFIX}" 
"lib/${LIB_PREFIX}${LIB_NAME}-${DEB}${LIB_SUFFIX}"
        fi
  fi
Index: base/pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/0ad/base/pkg/PLIST,v
diff -u -p -r1.15 PLIST
--- base/pkg/PLIST      8 Feb 2025 22:13:43 -0000       1.15
+++ base/pkg/PLIST      3 Mar 2026 05:22:07 -0000
@@ -2,7 +2,7 @@ bin/0ad
 @bin bin/pyrogenesis
 @so lib/libAtlasUI.so
 @so lib/libCollada.so
-@lib lib/libmozjs115-release.so.${LIBmozjs115-release_VERSION}
+@lib lib/libmozjs128-release.so.${LIBmozjs128-release_VERSION}
 @so lib/libnvcore.so
 @so lib/libnvimage.so
 @so lib/libnvmath.so
@@ -10,6 +10,7 @@ bin/0ad
 share/0ad/l10n/
 share/0ad/l10n/.tx/
 share/0ad/l10n/.tx/config
+share/0ad/l10n/ca.engine.po
 share/0ad/l10n/cs.engine.po
 share/0ad/l10n/de.engine.po
 share/0ad/l10n/el.engine.po
@@ -23,6 +24,8 @@ share/0ad/l10n/gl.engine.po
 share/0ad/l10n/hu.engine.po
 share/0ad/l10n/id.engine.po
 share/0ad/l10n/it.engine.po
+share/0ad/l10n/ja.engine.po
+share/0ad/l10n/ko.engine.po
 share/0ad/l10n/messages.json
 share/0ad/l10n/nl.engine.po
 share/0ad/l10n/pl.engine.po
@@ -33,6 +36,9 @@ share/0ad/l10n/sk.engine.po
 share/0ad/l10n/sv.engine.po
 share/0ad/l10n/tr.engine.po
 share/0ad/l10n/uk.engine.po
+share/0ad/l10n/vi.engine.po
+share/0ad/l10n/zh.engine.po
+share/0ad/l10n/zh_TW.engine.po
 share/0ad/mods/_test.dae/
 share/0ad/mods/_test.dae/art/
 share/0ad/mods/_test.dae/art/actors/
@@ -43,6 +49,14 @@ share/0ad/mods/_test.dae/art/meshes/
 share/0ad/mods/_test.dae/art/meshes/jav2.dae
 share/0ad/mods/_test.gui/
 share/0ad/mods/_test.gui/gui/
+share/0ad/mods/_test.gui/gui/Result/
+share/0ad/mods/_test.gui/gui/Result/Result.js
+share/0ad/mods/_test.gui/gui/Result/Result.xml
+share/0ad/mods/_test.gui/gui/Result/page_Result.xml
+share/0ad/mods/_test.gui/gui/await/
+share/0ad/mods/_test.gui/gui/await/object.xml
+share/0ad/mods/_test.gui/gui/await/page.xml
+share/0ad/mods/_test.gui/gui/await/script.js
 share/0ad/mods/_test.gui/gui/common/
 share/0ad/mods/_test.gui/gui/common/styles.xml
 share/0ad/mods/_test.gui/gui/event/
@@ -55,11 +69,31 @@ share/0ad/mods/_test.gui/gui/hotkey/
 share/0ad/mods/_test.gui/gui/hotkey/hotkey.js
 share/0ad/mods/_test.gui/gui/hotkey/hotkey.xml
 share/0ad/mods/_test.gui/gui/hotkey/page_hotkey.xml
+share/0ad/mods/_test.gui/gui/multiple_root-modules/
+share/0ad/mods/_test.gui/gui/multiple_root-modules/object.xml
+share/0ad/mods/_test.gui/gui/multiple_root-modules/page.xml
+share/0ad/mods/_test.gui/gui/multiple_root-modules/script.js
 share/0ad/mods/_test.gui/gui/regainFocus/
+share/0ad/mods/_test.gui/gui/regainFocus/emptyPage.js
+share/0ad/mods/_test.gui/gui/regainFocus/emptyPage.xml
 share/0ad/mods/_test.gui/gui/regainFocus/page_emptyPage.xml
 share/0ad/mods/_test.gui/gui/regainFocus/page_pushWithPopOnInit.xml
 share/0ad/mods/_test.gui/gui/regainFocus/pushWithPopOnInit.js
 share/0ad/mods/_test.gui/gui/regainFocus/pushWithPopOnInit.xml
+share/0ad/mods/_test.gui/gui/resolveReject/
+share/0ad/mods/_test.gui/gui/resolveReject/page_resolveReject.xml
+share/0ad/mods/_test.gui/gui/resolveReject/resolveReject.js
+share/0ad/mods/_test.gui/gui/resolveReject/resolveReject.xml
+share/0ad/mods/_test.gui/gui/sequential/
+share/0ad/mods/_test.gui/gui/sequential/page_sequential.xml
+share/0ad/mods/_test.gui/gui/sequential/sequential.js
+share/0ad/mods/_test.gui/gui/sequential/sequential.xml
+share/0ad/mods/_test.gui/gui/settings/
+share/0ad/mods/_test.gui/gui/settings/cguisize/
+share/0ad/mods/_test.gui/gui/settings/cguisize/assign.js
+share/0ad/mods/_test.gui/gui/settings/cguisize/compoundassignmentoperator.js
+share/0ad/mods/_test.gui/gui/settings/cguisize/lazyassign.js
+share/0ad/mods/_test.gui/gui/settings/cguisize/objectassign.js
 share/0ad/mods/_test.minimal/
 share/0ad/mods/_test.minimal/art/
 share/0ad/mods/_test.minimal/art/textures/
@@ -87,8 +121,9 @@ share/0ad/mods/_test.minimal/art/texture
 share/0ad/mods/_test.minimal/art/textures/terrain/types/
 share/0ad/mods/_test.minimal/art/textures/terrain/types/whiteness.dds
 share/0ad/mods/_test.minimal/fonts/
-share/0ad/mods/_test.minimal/fonts/console.fnt
-share/0ad/mods/_test.minimal/fonts/console.tga
+share/0ad/mods/_test.minimal/fonts/DejaVuSansMono.ttf
+share/0ad/mods/_test.minimal/fonts/LinBiolinum_RBah.ttf
+share/0ad/mods/_test.minimal/fonts/LinBiolinum_Rah.ttf
 share/0ad/mods/_test.minimal/shaders/
 share/0ad/mods/_test.minimal/shaders/globallight.vs
 share/0ad/mods/_test.minimal/shaders/instancing.vs
@@ -108,7 +143,51 @@ share/0ad/mods/_test.minimal/shaders/pos
 share/0ad/mods/_test.minimal/shaders/water_high.fs
 share/0ad/mods/_test.minimal/shaders/water_high.vs
 share/0ad/mods/_test.minimal/shaders/water_high.xml
+share/0ad/mods/_test.mods/
+share/0ad/mods/_test.mods/config/
+share/0ad/mods/_test.mods/config/moda.cfg
+share/0ad/mods/_test.mods/config/modb.cfg
+share/0ad/mods/_test.mods/config/modreplace.cfg
+share/0ad/mods/_test.mods/config/modscoped.cfg
+share/0ad/mods/_test.mods/config/start.cfg
 share/0ad/mods/_test.scriptinterface/
+share/0ad/mods/_test.scriptinterface/exception/
+share/0ad/mods/_test.scriptinterface/exception/catch.js
+share/0ad/mods/_test.scriptinterface/module/
+share/0ad/mods/_test.scriptinterface/module/blabbermouth.js
+share/0ad/mods/_test.scriptinterface/module/delayed_blabbermouth.js
+share/0ad/mods/_test.scriptinterface/module/dynamic_import.js
+share/0ad/mods/_test.scriptinterface/module/empty.js
+share/0ad/mods/_test.scriptinterface/module/empty~trigger.append.js
+share/0ad/mods/_test.scriptinterface/module/export.js
+share/0ad/mods/_test.scriptinterface/module/export_default/
+share/0ad/mods/_test.scriptinterface/module/export_default/does_not_work_around.js
+share/0ad/mods/_test.scriptinterface/module/export_default/immutable.js
+share/0ad/mods/_test.scriptinterface/module/export_default/invalid.js
+share/0ad/mods/_test.scriptinterface/module/export_default/works_around.js
+share/0ad/mods/_test.scriptinterface/module/import_inside_function.js
+share/0ad/mods/_test.scriptinterface/module/include/
+share/0ad/mods/_test.scriptinterface/module/include/circle.js
+share/0ad/mods/_test.scriptinterface/module/include/entry.js
+share/0ad/mods/_test.scriptinterface/module/include/geometry/
+share/0ad/mods/_test.scriptinterface/module/include/geometry/area.js
+share/0ad/mods/_test.scriptinterface/module/include/pi.js
+share/0ad/mods/_test.scriptinterface/module/indirect.js
+share/0ad/mods/_test.scriptinterface/module/meta.js
+share/0ad/mods/_test.scriptinterface/module/modified/
+share/0ad/mods/_test.scriptinterface/module/modified/base.js
+share/0ad/mods/_test.scriptinterface/module/modified/base_not_appended.append.js
+share/0ad/mods/_test.scriptinterface/module/modified/base~0.append.js
+share/0ad/mods/_test.scriptinterface/module/modified/base~1.append.js
+share/0ad/mods/_test.scriptinterface/module/modified/base~not_appended.js
+share/0ad/mods/_test.scriptinterface/module/restriction/
+share/0ad/mods/_test.scriptinterface/module/restriction/disallowedfile.js
+share/0ad/mods/_test.scriptinterface/module/restriction/dynamic_import.js
+share/0ad/mods/_test.scriptinterface/module/restriction/fancy_import.js
+share/0ad/mods/_test.scriptinterface/module/restriction/import.js
+share/0ad/mods/_test.scriptinterface/module/top_level_await_finite.js
+share/0ad/mods/_test.scriptinterface/module/top_level_await_infinite.js
+share/0ad/mods/_test.scriptinterface/module/top_level_throw.js
 share/0ad/mods/_test.scriptinterface/promises/
 share/0ad/mods/_test.scriptinterface/promises/reject.js
 share/0ad/mods/_test.scriptinterface/promises/simple.js
Index: data/distinfo
===================================================================
RCS file: /cvs/ports/games/0ad/data/distinfo,v
diff -u -p -r1.13 distinfo
--- data/distinfo       20 Jul 2025 13:19:03 -0000      1.13
+++ data/distinfo       3 Mar 2026 05:22:07 -0000
@@ -1,2 +1,2 @@
-SHA256 (0ad-0.27.1-unix-data.tar.xz) = 
g34tbd8TiwJfwCAXJF11gaS7hP2UtCwOYF0yG3AXqZg=
-SIZE (0ad-0.27.1-unix-data.tar.xz) = 1367955136
+SHA256 (0ad-0.28.0-unix-data.tar.xz) = 
6ESzCuIQLEfgpP/y8ODvBboM67GJCqcidvoSRXw5Um8=
+SIZE (0ad-0.28.0-unix-data.tar.xz) = 1415012652
Index: data/pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/0ad/data/pkg/PLIST,v
diff -u -p -r1.6 PLIST
--- data/pkg/PLIST      11 Mar 2022 19:04:03 -0000      1.6
+++ data/pkg/PLIST      3 Mar 2026 05:22:07 -0000
@@ -45,23 +45,3 @@ share/0ad/tools/atlas/toolbar/smoothelev
 share/0ad/tools/atlas/toolbar/terrain.png
 share/0ad/tools/atlas/toolbar/trigger.png
 share/0ad/tools/atlas/toolbar/undo.png
-share/0ad/tools/fontbuilder/
-share/0ad/tools/fontbuilder/fonts/
-share/0ad/tools/fontbuilder/fonts/DejaVu-LICENSE.txt
-share/0ad/tools/fontbuilder/fonts/DejaVuSansMono.ttf
-share/0ad/tools/fontbuilder/fonts/FreeFont-LICENSE.txt
-share/0ad/tools/fontbuilder/fonts/FreeMono.ttf
-share/0ad/tools/fontbuilder/fonts/FreeSans.ttf
-share/0ad/tools/fontbuilder/fonts/FreeSansBold.ttf
-share/0ad/tools/fontbuilder/fonts/FreeSansOblique.ttf
-share/0ad/tools/fontbuilder/fonts/FreeSerif.ttf
-share/0ad/tools/fontbuilder/fonts/FreeSerifBold.ttf
-share/0ad/tools/fontbuilder/fonts/GUST-FONT-LICENSE.txt
-share/0ad/tools/fontbuilder/fonts/LICENSE.txt
-share/0ad/tools/fontbuilder/fonts/LibBiolinum-LICENSE.txt
-share/0ad/tools/fontbuilder/fonts/LinBiolinum_Kah.ttf
-share/0ad/tools/fontbuilder/fonts/LinBiolinum_RBah.ttf
-share/0ad/tools/fontbuilder/fonts/LinBiolinum_RIah.ttf
-share/0ad/tools/fontbuilder/fonts/LinBiolinum_Rah.ttf
-share/0ad/tools/fontbuilder/fonts/texgyrepagella-bold.otf
-share/0ad/tools/fontbuilder/fonts/texgyrepagella-regular.otf

Reply via email to