1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/games/fs2open/files/patch-code_network_valid.cpp
Piotr Kubaj 8977662785 games/fs2open: update to release_21_0_0
Change log: (chronologically ordered)
    More OpenGL optimizations
    Full type information output for Lua documentation. Very useful for writing Lua scripts.
    A new -weaponspew command-line option for printing MediaVP-style statistics, plus a weapon comparison spreadsheet, to the debug log.
    Improved ship lookup behavior in SEXPs for improved performance.
    BPTC/BC7 texture compression support
    Refactoring and new features for the ship lab.
    Missile multi-lock. It's finally in an official build!
    Enhancements to the model code in preparation for cool features in 21.2.
    IPv6 support for multiplayer
    A lot of general fixes for multiplayer.
2021-01-28 12:47:48 +00:00

13 lines
367 B
C++

--- code/network/valid.cpp.orig 2021-01-27 17:07:03 UTC
+++ code/network/valid.cpp
@@ -29,6 +29,9 @@
#include "network/multi_fstracker.h"
#include "io/timer.h"
+#ifdef __FreeBSD__
+#include <sys/socket.h>
+#endif
// check structs for size compatibility
SDL_COMPILE_TIME_ASSERT(vmt_validate_mission_req_struct, sizeof(vmt_validate_mission_req_struct) == 104);