diff options
Diffstat (limited to 'games/assaultcube/files/patch-source_enet_unix.c')
| -rw-r--r-- | games/assaultcube/files/patch-source_enet_unix.c | 20 |
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); |
