View | Details | Raw Unified | Return to bug 237400
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	flightgear
4
PORTNAME=	flightgear
5
PORTVERSION=	2018.3.2
5
PORTVERSION=	2018.3.2
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	games
7
CATEGORIES=	games
8
MASTER_SITES=	SF/flightgear/release-${PORTVERSION:R}
8
MASTER_SITES=	SF/flightgear/release-${PORTVERSION:R}
9
9
(-)files/patch-src_Environment_realwx__ctrl.cxx (+14 lines)
Line 0 Link Here
1
# games/flightgear: METAR data won't download
2
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237400
3
4
--- src/Environment/realwx_ctrl.cxx.orig	2019-04-20 07:47:41 UTC
5
+++ src/Environment/realwx_ctrl.cxx
6
@@ -426,7 +426,7 @@ void NoaaMetarRealWxController::requestMetar
7
 )
8
 {
9
   static const std::string NOAA_BASE_URL =
10
-    "http://tgftp.nws.noaa.gov/data/observations/metar/stations/";
11
+    "https://tgftp.nws.noaa.gov/data/observations/metar/stations/";
12
   class NoaaMetarGetRequest:
13
     public simgear::HTTP::MemoryRequest
14
   {
(-)files/patch-src_Main_metar__main.cxx (+14 lines)
Line 0 Link Here
1
# games/flightgear: METAR data won't download
2
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237400
3
4
--- src/Main/metar_main.cxx.orig	2019-04-20 07:48:18 UTC
5
+++ src/Main/metar_main.cxx
6
@@ -539,7 +539,7 @@ int main(int argc, char *argv[])
7
 			try
8
 			{
9
               static const std::string NOAA_BASE_URL =
10
-                "http://tgftp.nws.noaa.gov/data/observations/metar/stations/";
11
+                "https://tgftp.nws.noaa.gov/data/observations/metar/stations/";
12
                 HTTP::MemoryRequest* mr = new HTTP::MemoryRequest
13
                 (
14
                     NOAA_BASE_URL

Return to bug 237400