git: 3bf141b8a54b - main - games/DDNet: update 18.5.1 → 18.7

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Tue, 19 Nov 2024 23:27:57 UTC
The branch main has been updated by amdmi3:

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

commit 3bf141b8a54bfd722461ef888bb104ae7d81b547
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-10-24 16:07:25 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2024-11-19 23:27:08 +0000

    games/DDNet: update 18.5.1 → 18.7
---
 games/DDNet/Makefile                   |  3 +--
 games/DDNet/distinfo                   |  6 +++---
 games/DDNet/files/patch-CMakeLists.txt | 11 ++++++++++-
 3 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/games/DDNet/Makefile b/games/DDNet/Makefile
index 2a8f2278ddc9..a94ddfae07a6 100644
--- a/games/DDNet/Makefile
+++ b/games/DDNet/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	DDNet
-PORTVERSION=	18.5.1
-PORTREVISION=	1
+PORTVERSION=	18.7
 CATEGORIES=	games
 MASTER_SITES=	https://ddnet.tw/downloads/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
diff --git a/games/DDNet/distinfo b/games/DDNet/distinfo
index a36e0e3d6b4a..66ed0cc94f1d 100644
--- a/games/DDNet/distinfo
+++ b/games/DDNet/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1726596481
-SHA256 (DDNet-18.5.1.tar.xz) = 7a247b4f1310981273056c10e7509b3a023965047c377170e377253d32189b7d
-SIZE (DDNet-18.5.1.tar.xz) = 36877148
+TIMESTAMP = 1731680591
+SHA256 (DDNet-18.7.tar.xz) = 5a63bfbefd13125522fd93e79050a89c0ba142fb738c24fac54490ce84c0f672
+SIZE (DDNet-18.7.tar.xz) = 36904592
 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 e005c8cb2f4b..5820440c6198 100644
--- a/games/DDNet/files/patch-CMakeLists.txt
+++ b/games/DDNet/files/patch-CMakeLists.txt
@@ -1,5 +1,14 @@
---- CMakeLists.txt.orig	2024-09-02 21:39:42 UTC
+--- CMakeLists.txt.orig	2024-11-08 08:33:13 UTC
 +++ CMakeLists.txt
+@@ -887,7 +887,7 @@ endif()
+ if(RUST_NIGHTLY)
+   list(APPEND CARGO_BUILD -Z build-std=std,panic_abort)
+ endif()
+-if(NOT CMAKE_OSX_ARCHITECTURES AND (DEFINED CMAKE_RUST_COMPILER_TARGET OR RUST_NIGHTLY))
++if(NOT CMAKE_OSX_ARCHITECTURES AND (DEFINED CMAKE_RUST_COMPILER_TARGET))
+   if(DEFINED CMAKE_RUST_COMPILER_TARGET)
+     list(APPEND CARGO_TEST --target ${CMAKE_RUST_COMPILER_TARGET})
+     set(RUST_TARGET ${CMAKE_RUST_COMPILER_TARGET})
 @@ -948,13 +948,6 @@ if(NOT CMAKE_OSX_ARCHITECTURES)
      )
      list(APPEND RUST_OUTPUTS "${PROJECT_BINARY_DIR}/${CARGO_BUILD_DIR}/${LIBRARY_NAME}")