head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.26 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.24 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.22 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.20 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.18 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.16 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.14 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.12 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.10 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.8 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.6 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.4 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.2 pkgsrc-2023Q1-base:1.1; locks; strict; comment @// @; 1.1 date 2023.03.02.03.44.39; author charlotte; state Exp; branches; next ; commitid 1JzNsCMOslIQ4vfE; desc @@ 1.1 log @games/openjazz: Import package OpenJazz is a free, open-source version of the classic Jazz Jackrabbit games. OpenJazz can be compiled on a wide range of operating systems, including Windows, macOS, GNU/Linux and *BSD. Also ports are available for some homebrew platforms, for example Wii and PSP. To play, you will need the files from one of the original games. @ text @$NetBSD$ Use correct timeval struct for NetBSD. --- src/io/network.cpp.orig 2019-01-06 13:41:53.000000000 +0000 +++ src/io/network.cpp @@@@ -63,6 +63,8 @@@@ #include #endif +#include + /** * Initialise networking. */ @@@@ -174,7 +176,7 @@@@ int Network::join (char *address) { #ifdef USE_SOCKETS sockaddr_in sockAddr; fd_set writefds; - timeval timeouttv; + struct timeval timeouttv; unsigned int timeout; int sock, con; @