diff options
author | nia <nia@pkgsrc.org> | 2021-03-01 09:00:33 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-03-01 09:00:33 +0000 |
commit | ba6ca3c3adeb7728dd84f3c4acdaf36732eba01c (patch) | |
tree | b4adfc50498332b25c9e89183e95d65b5efe542a /games/flightgear | |
parent | 85f27932bf3653a4ca2b34834346b2f883f3e434 (diff) | |
download | pkgsrc-ba6ca3c3adeb7728dd84f3c4acdaf36732eba01c.tar.gz |
flightgear: Fix build.
Diffstat (limited to 'games/flightgear')
-rw-r--r-- | games/flightgear/distinfo | 3 | ||||
-rw-r--r-- | games/flightgear/patches/patch-src_Input_fgjs.cxx | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/games/flightgear/distinfo b/games/flightgear/distinfo index 861b099e8d6..2043f0dc4ad 100644 --- a/games/flightgear/distinfo +++ b/games/flightgear/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2021/02/25 10:22:14 nia Exp $ +$NetBSD: distinfo,v 1.14 2021/03/01 09:00:33 nia Exp $ SHA1 (flightgear-2020.3.6.tar.bz2) = 3f2b1c6dfeca5c09c33afa1b82064ba3ce0a1c9d RMD160 (flightgear-2020.3.6.tar.bz2) = aaa210b7af3f6b7cd1deb45266ff9129a5b723d2 @@ -7,3 +7,4 @@ Size (flightgear-2020.3.6.tar.bz2) = 8837251 bytes SHA1 (patch-3rdparty_hts__engine__API_lib_HTS__misc.c) = b6deb149e54dc92cb748fd149a806a016ba76a2e SHA1 (patch-3rdparty_iaxclient_lib_libiax2_src_iax.c) = d6ae7b47253c1ba8f79e42cde27189d32e603eea SHA1 (patch-3rdparty_joystick_jsNone.cxx) = 4a662c71f97dd2d5093f09d4631d672e5278f082 +SHA1 (patch-src_Input_fgjs.cxx) = e3d986b67142bac8c7084a026a730ebca48b15f5 diff --git a/games/flightgear/patches/patch-src_Input_fgjs.cxx b/games/flightgear/patches/patch-src_Input_fgjs.cxx new file mode 100644 index 00000000000..19c77a36fd4 --- /dev/null +++ b/games/flightgear/patches/patch-src_Input_fgjs.cxx @@ -0,0 +1,15 @@ +$NetBSD: patch-src_Input_fgjs.cxx,v 1.1 2021/03/01 09:00:33 nia Exp $ + +Include missing header for gethostname(3). + +--- src/Input/fgjs.cxx.orig 2021-01-23 18:03:04.000000000 +0000 ++++ src/Input/fgjs.cxx +@@ -30,6 +30,8 @@ + + #ifdef _WIN32 + # include <winsock2.h> ++#else ++# include <unistd.h> + #endif + + #include <cmath> |