pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/flightgear flightgear: Fix build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2416db1d2fe3
branches:  trunk
changeset: 447947:2416db1d2fe3
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Mar 01 09:00:33 2021 +0000

description:
flightgear: Fix build.

diffstat:

 games/flightgear/distinfo                         |   3 ++-
 games/flightgear/patches/patch-src_Input_fgjs.cxx |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r aa0eb76a72f7 -r 2416db1d2fe3 games/flightgear/distinfo
--- a/games/flightgear/distinfo Mon Mar 01 09:00:09 2021 +0000
+++ b/games/flightgear/distinfo Mon Mar 01 09:00:33 2021 +0000
@@ -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 @@
 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 -r aa0eb76a72f7 -r 2416db1d2fe3 games/flightgear/patches/patch-src_Input_fgjs.cxx
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/flightgear/patches/patch-src_Input_fgjs.cxx Mon Mar 01 09:00:33 2021 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index