git: 98e407e4f559 - main - games/DDNet: update 16.1 → 16.2.1

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Thu, 14 Jul 2022 12:59:01 UTC
The branch main has been updated by amdmi3:

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

commit 98e407e4f5598d404b582a3bc1692924b2d291f2
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-07-14 12:58:10 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-07-14 12:58:43 +0000

    games/DDNet: update 16.1 → 16.2.1
---
 games/DDNet/Makefile                                          |  2 +-
 games/DDNet/distinfo                                          |  6 +++---
 games/DDNet/files/patch-src_engine_server_databases_mysql.cpp | 10 ++++++++++
 games/DDNet/pkg-plist                                         |  2 +-
 4 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/games/DDNet/Makefile b/games/DDNet/Makefile
index 4875667c5378..1ab65fbc7333 100644
--- a/games/DDNet/Makefile
+++ b/games/DDNet/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	DDNet
-PORTVERSION=	16.1
+PORTVERSION=	16.2.1
 CATEGORIES=	games
 MASTER_SITES=	https://ddnet.tw/downloads/
 
diff --git a/games/DDNet/distinfo b/games/DDNet/distinfo
index 79e52af21b95..f0d419e24198 100644
--- a/games/DDNet/distinfo
+++ b/games/DDNet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653595015
-SHA256 (DDNet-16.1.tar.xz) = 22b8911d1416d4e988f0a9ac53d8e7c106c6738d6c782e63a50e9452ef8a340a
-SIZE (DDNet-16.1.tar.xz) = 28541296
+TIMESTAMP = 1657724658
+SHA256 (DDNet-16.2.1.tar.xz) = e966b3ffd23109f35d5fdb9c92170ea11bc2bf9ddaf9581b4f6136801c9919a2
+SIZE (DDNet-16.2.1.tar.xz) = 28659312
diff --git a/games/DDNet/files/patch-src_engine_server_databases_mysql.cpp b/games/DDNet/files/patch-src_engine_server_databases_mysql.cpp
new file mode 100644
index 000000000000..a79723bca988
--- /dev/null
+++ b/games/DDNet/files/patch-src_engine_server_databases_mysql.cpp
@@ -0,0 +1,10 @@
+--- src/engine/server/databases/mysql.cpp.orig	2022-07-05 08:29:46 UTC
++++ src/engine/server/databases/mysql.cpp
+@@ -11,7 +11,6 @@
+ #include <vector>
+ 
+ #ifndef LIBMARIADB
+-typedef bool my_bool;
+ #endif
+ 
+ enum
diff --git a/games/DDNet/pkg-plist b/games/DDNet/pkg-plist
index 5be0080002ca..f2dc41f653a5 100644
--- a/games/DDNet/pkg-plist
+++ b/games/DDNet/pkg-plist
@@ -5,7 +5,6 @@ lib/ddnet/config_store
 lib/ddnet/crapnet
 lib/ddnet/dilate
 lib/ddnet/dummy_map
-lib/ddnet/fake_server
 lib/ddnet/map_convert_07
 lib/ddnet/map_diff
 lib/ddnet/map_extract
@@ -13,6 +12,7 @@ lib/ddnet/map_optimize
 lib/ddnet/map_replace_image
 lib/ddnet/map_resave
 lib/ddnet/packetgen
+lib/ddnet/stun
 lib/ddnet/unicode_confusables
 lib/ddnet/uuid
 %%CLIENT%%share/applications/ddnet.desktop