From 3c8ea1caeedb246697b79bdb5c215fe4567247c6 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Mon, 13 Feb 2023 14:15:41 +0100 Subject: games/assaultcube: Update to 1.3.0.2 Submitter becomes maintainer, already maintainer of several ports. The PORT_ENET option no longer compiles, so remove it. The MASTER server option is also currently broken, but players playing the game or running a dedicated server should not need to run it, so disable this option for now. While here, pet linters. ChangeLog: https://assault.cubers.net/docs/history.html * the server sends messages so you know what data was used for shuffeling (random < match < vita) * switching to spectator only incurs respawn delay, not suicide/teamkill * the overview spectator can now see the flags in tilted-model or radar-like ways through overviewflags setting * connect protocol waits for authentication with the masterserver before connecting * register connect protocol script for linux PR: 269505 Reported by: kevinz5000@gmail.com (maintainer) --- games/assaultcube/files/patch-source_enet_unix.c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 games/assaultcube/files/patch-source_enet_unix.c (limited to 'games/assaultcube/files/patch-source_enet_unix.c') diff --git a/games/assaultcube/files/patch-source_enet_unix.c b/games/assaultcube/files/patch-source_enet_unix.c deleted file mode 100644 index b148e09dddb8..000000000000 --- a/games/assaultcube/files/patch-source_enet_unix.c +++ /dev/null @@ -1,20 +0,0 @@ ---- source/enet/unix.c.orig 2013-10-22 18:57:22 UTC -+++ source/enet/unix.c -@@ -97,7 +97,7 @@ enet_address_set_host (ENetAddress * add - char buffer [2048]; - int errnum; - --#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) -+#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) - gethostbyname_r (name, & hostData, buffer, sizeof (buffer), & hostEntry, & errnum); - #else - hostEntry = gethostbyname_r (name, & hostData, buffer, sizeof (buffer), & errnum); -@@ -150,7 +150,7 @@ enet_address_get_host (const ENetAddress - - in.s_addr = address -> host; - --#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) -+#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) - gethostbyaddr_r ((char *) & in, sizeof (struct in_addr), AF_INET, & hostData, buffer, sizeof (buffer), & hostEntry, & errnum); - #else - hostEntry = gethostbyaddr_r ((char *) & in, sizeof (struct in_addr), AF_INET, & hostData, buffer, sizeof (buffer), & errnum); -- cgit v1.2.3