summaryrefslogtreecommitdiff
path: root/games/assaultcube/files/patch-source_enet_unix.c
diff options
context:
space:
mode:
authorKevin Zheng <kevinz5000@gmail.com>2023-02-13 14:15:41 +0100
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2023-02-14 13:34:07 +0100
commit3c8ea1caeedb246697b79bdb5c215fe4567247c6 (patch)
tree03efa75bc3f098077afea61f5d7b1c4524cdc599 /games/assaultcube/files/patch-source_enet_unix.c
parentnet/libiscsi: update to HEAD of 2023-02-08 (diff)
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)
Diffstat (limited to 'games/assaultcube/files/patch-source_enet_unix.c')
-rw-r--r--games/assaultcube/files/patch-source_enet_unix.c20
1 files changed, 0 insertions, 20 deletions
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);