På lørdag 28. november 2026 kl. 10:00, skrev Stuart Henderson:

> On 2026/11/28 08:32, [email protected] wrote:
> > På søndag 22. november 2026 kl. 23:00, skrev izzy Meyer:
> >
> > > Hello ports@
> > >
> > > Here's an update of luanti to 5.18.0
> > >
> > > Changelog:
> > > https://docs.luanti.org/about/changelog/#5170--5180
> > >
> > > Built and tested on 8.0-current/amd64.
> > >
> > > Played for a few hours each day for the past few days on X11/stumpwm
> > > with no major issues on my end. My long-time singleplayer worlds
> > > migrated without a hitch.
> > >
> > > Thanks,
> > >
> >
> >
> > Tested/built on current/amd64. No nits I can find and checks:
> >
> > luanti-5.18.0(games/luanti):
> > Missing lib: zip.4 (/usr/local/bin/luanti) (NOT REACHABLE)
> > --
> > Probably fine?
> 
> not fine.
> 
> 

Does this look better? Izzy, this acceptable to you?

I rebuilt and with this small tweak of adding archivers/libzip to lib
depends and 'zip' to WANTLIB, it passes port-lib-depends-check.


Index: Makefile
===================================================================
RCS file: /cvs/ports/games/luanti/Makefile,v
diff -u -p -u -p -r1.11 Makefile
--- Makefile    22 Aug 2026 00:19:54 -0000      1.11
+++ Makefile    28 Nov 2026 09:33:28 -0000
@@ -2,7 +2,7 @@ DPB_PROPERTIES =        parallel
 
 COMMENT =              infinite-world block sandbox game
 
-DIST_TUPLE +=          github luanti-org luanti 5.17.0 .
+DIST_TUPLE +=          github luanti-org luanti 5.18.0 .
 
 CATEGORIES =           games x11
 
@@ -15,7 +15,7 @@ PERMIT_PACKAGE =      Yes
 
 WANTLIB += ${COMPILER_LIBCXX} GL GLU SDL2 c curl curses form freetype
 WANTLIB += gmp iconv intl jpeg jsoncpp luajit-5.1 m ogg openal
-WANTLIB += png pq spatialindex sqlite3 vorbis vorbisfile z zstd
+WANTLIB += png pq spatialindex sqlite3 vorbis vorbisfile z zip zstd
 
 COMPILER =             base-clang ports-gcc
 
@@ -44,6 +44,7 @@ RUN_DEPENDS =         devel/desktop-file-utils 
 LIB_DEPENDS =          audio/openal \
                        lang/luajit \
                        audio/libvorbis \
+                       archivers/libzip \
                        archivers/zstd \
                        devel/gettext,-runtime \
                        devel/jsoncpp \
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/luanti/distinfo,v
diff -u -p -u -p -r1.8 distinfo
--- distinfo    22 Aug 2026 00:19:54 -0000      1.8
+++ distinfo    28 Nov 2026 09:33:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (luanti-org-luanti-5.17.0.tar.gz) = 
UufdMVrg5cOGiiMjHmkVeM1pS8ylr2J/xXwD8yvchG8=
-SIZE (luanti-org-luanti-5.17.0.tar.gz) = 12672872
+SHA256 (luanti-org-luanti-5.18.0.tar.gz) = 
OE8er+sru3ae61sgzqNTltrM0EsT3yI0RXMQDz6NPM0=
+SIZE (luanti-org-luanti-5.18.0.tar.gz) = 15988199
Index: patches/patch-src_CMakeLists_txt
===================================================================
RCS file: /cvs/ports/games/luanti/patches/patch-src_CMakeLists_txt,v
diff -u -p -u -p -r1.6 patch-src_CMakeLists_txt
--- patches/patch-src_CMakeLists_txt    22 Aug 2026 00:19:54 -0000      1.6
+++ patches/patch-src_CMakeLists_txt    28 Nov 2026 09:33:28 -0000
@@ -1,16 +1,16 @@
 Index: src/CMakeLists.txt
 --- src/CMakeLists.txt.orig
 +++ src/CMakeLists.txt
-@@ -356,7 +356,7 @@ endif()
+@@ -364,7 +364,7 @@ endif()
  # Note that find_library does not reliably find it so we have to resort to 
this.
  # Also, passing -latomic is not always the same as adding atomic to the 
library list.
  include(CheckCSourceCompiles)
--if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
-+if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND NOT AVOID_LINKING_ATOMIC)
+-if(NOT MSVC)
++if(NOT MSVC AND NOT AVOID_LINKING_ATOMIC)
        set(CMAKE_REQUIRED_LIBRARIES "-latomic")
        check_c_source_compiles("int main(){}" HAVE_LINK_ATOMIC)
        set(CMAKE_REQUIRED_LIBRARIES "")
-@@ -994,7 +994,7 @@ else()
+@@ -991,7 +991,7 @@ else()
                endif()
        endif()
  
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/luanti/pkg/PLIST,v
diff -u -p -u -p -r1.7 PLIST
--- pkg/PLIST   22 Aug 2026 00:19:54 -0000      1.7
+++ pkg/PLIST   28 Nov 2026 09:33:28 -0000
@@ -111,6 +111,7 @@ share/locale/tok/LC_MESSAGES/luanti.mo
 share/locale/tr/LC_MESSAGES/luanti.mo
 share/locale/tt/LC_MESSAGES/luanti.mo
 share/locale/uk/LC_MESSAGES/luanti.mo
+share/locale/uz/LC_MESSAGES/luanti.mo
 share/locale/vi/LC_MESSAGES/luanti.mo
 share/locale/zh_CN/LC_MESSAGES/luanti.mo
 share/locale/zh_TW/LC_MESSAGES/luanti.mo

Attachment: luanti-5.18.0p0.diff
Description: Binary data

Reply via email to