1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/games/cube/files/patch-serverbrowser.cpp
Dmitry Marakasov 50cc805efc - Fix build after net/enet update
- While here, make MAKE_JOBS_SAFE
2009-12-18 02:44:30 +00:00

12 lines
391 B
C++

--- serverbrowser.cpp.orig 2004-05-09 19:20:40.000000000 +0400
+++ serverbrowser.cpp 2009-12-18 05:07:23.000000000 +0300
@@ -268,7 +268,7 @@
{
if(pingsock == ENET_SOCKET_NULL)
{
- pingsock = enet_socket_create(ENET_SOCKET_TYPE_DATAGRAM, NULL);
+ pingsock = enet_socket_create(ENET_SOCKET_TYPE_DATAGRAM);
resolverinit(1, 1000);
};
resolverclear();