pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/flightgear



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Mar  1 09:00:33 UTC 2021

Modified Files:
        pkgsrc/games/flightgear: distinfo
Added Files:
        pkgsrc/games/flightgear/patches: patch-src_Input_fgjs.cxx

Log Message:
flightgear: Fix build.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/games/flightgear/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/games/flightgear/patches/patch-src_Input_fgjs.cxx

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/flightgear/distinfo
diff -u pkgsrc/games/flightgear/distinfo:1.13 pkgsrc/games/flightgear/distinfo:1.14
--- pkgsrc/games/flightgear/distinfo:1.13       Thu Feb 25 10:22:14 2021
+++ pkgsrc/games/flightgear/distinfo    Mon Mar  1 09:00:33 2021
@@ -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) = 883
 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

Added files:

Index: pkgsrc/games/flightgear/patches/patch-src_Input_fgjs.cxx
diff -u /dev/null pkgsrc/games/flightgear/patches/patch-src_Input_fgjs.cxx:1.1
--- /dev/null   Mon Mar  1 09:00:33 2021
+++ pkgsrc/games/flightgear/patches/patch-src_Input_fgjs.cxx    Mon Mar  1 09:00:33 2021
@@ -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