git: e541644e1db1 - main - games/DDNet: update 18.3.1 → 18.4

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Thu, 25 Jul 2024 01:37:07 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e541644e1db13914aecb212eb09db6700efd58ff

commit e541644e1db13914aecb212eb09db6700efd58ff
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-07-24 14:56:04 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2024-07-25 01:33:55 +0000

    games/DDNet: update 18.3.1 → 18.4
---
 games/DDNet/Makefile                   | 3 +--
 games/DDNet/distinfo                   | 6 +++---
 games/DDNet/files/patch-CMakeLists.txt | 8 ++++----
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/games/DDNet/Makefile b/games/DDNet/Makefile
index 233cf93faf06..afe93f207f7a 100644
--- a/games/DDNet/Makefile
+++ b/games/DDNet/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	DDNet
-PORTVERSION=	18.3.1
-PORTREVISION=	1
+PORTVERSION=	18.4
 CATEGORIES=	games
 MASTER_SITES=	https://ddnet.tw/downloads/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
diff --git a/games/DDNet/distinfo b/games/DDNet/distinfo
index 57957a90a730..caebb5310ec6 100644
--- a/games/DDNet/distinfo
+++ b/games/DDNet/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1719969483
-SHA256 (DDNet-18.3.1.tar.xz) = 4601ee659eb48fe1778564953af5c26d2c05e60528213c276b70c56d2199eca8
-SIZE (DDNet-18.3.1.tar.xz) = 35498652
+TIMESTAMP = 1721743829
+SHA256 (DDNet-18.4.tar.xz) = 5fa37702b729924fb883f472f0e66a52782859404ab618a9f8b507b1d1ed3aa9
+SIZE (DDNet-18.4.tar.xz) = 36355964
 SHA256 (rust/crates/cc-1.0.73.crate) = 2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11
 SIZE (rust/crates/cc-1.0.73.crate) = 57880
 SHA256 (rust/crates/cxx-1.0.71.crate) = 5469a6f42296f4fd40789b397383718f9a0bd75d2f9b7cedbb249996811fba27
diff --git a/games/DDNet/files/patch-CMakeLists.txt b/games/DDNet/files/patch-CMakeLists.txt
index 0678467b4696..77f4258c744b 100644
--- a/games/DDNet/files/patch-CMakeLists.txt
+++ b/games/DDNet/files/patch-CMakeLists.txt
@@ -1,20 +1,20 @@
---- CMakeLists.txt.orig	2024-03-01 18:51:36 UTC
+--- CMakeLists.txt.orig	2024-07-22 15:57:33 UTC
 +++ CMakeLists.txt
-@@ -929,13 +929,6 @@ if(NOT CMAKE_OSX_ARCHITECTURES)
+@@ -946,13 +946,6 @@ if(NOT CMAKE_OSX_ARCHITECTURES)
      )
      list(APPEND RUST_OUTPUTS "${PROJECT_BINARY_DIR}/${CARGO_BUILD_DIR}/${LIBRARY_NAME}")
    endforeach()
 -  add_custom_command(
 -    OUTPUT ${RUST_OUTPUTS}
 -    COMMAND ${CARGO_BUILD}
--    WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
+-    WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
 -    USES_TERMINAL
 -    DEPENDS ${RUST_SRC}
 -  )
  else()
    foreach(rust_target ${RUST_TARGETS})
      set(LIBRARY_NAME "${CMAKE_STATIC_LIBRARY_PREFIX}ddnet_${rust_target}${CMAKE_STATIC_LIBRARY_SUFFIX}")
-@@ -3086,10 +3079,16 @@ if(NOT DEV)
+@@ -3117,10 +3110,16 @@ if(NOT DEV)
      install(TARGETS ${TARGET_ANTIBOT} DESTINATION ${CMAKE_INSTALL_LIBDIR}/ddnet COMPONENT server)
    endif()
    install(TARGETS ${TARGETS_TOOLS} DESTINATION ${CMAKE_INSTALL_LIBDIR}/ddnet COMPONENT tools)