FreeBSD Bugzilla – Attachment 203819 Details for
Bug 237400
games/flightgear: METAR data won't download
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
flightgear fix METAR data download
flightgear-fix-METAR-data-download.patch (text/plain), 1.93 KB, created by
Kubilay Kocak
on 2019-04-20 07:52:34 UTC
(
hide
)
Description:
flightgear fix METAR data download
Filename:
MIME Type:
Creator:
Kubilay Kocak
Created:
2019-04-20 07:52:34 UTC
Size:
1.93 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 499427) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= flightgear > PORTVERSION= 2018.3.2 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= games > MASTER_SITES= SF/flightgear/release-${PORTVERSION:R} > >Index: files/patch-src_Environment_realwx__ctrl.cxx >=================================================================== >--- files/patch-src_Environment_realwx__ctrl.cxx (nonexistent) >+++ files/patch-src_Environment_realwx__ctrl.cxx (working copy) >@@ -0,0 +1,14 @@ >+# games/flightgear: METAR data won't download >+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237400 >+ >+--- src/Environment/realwx_ctrl.cxx.orig 2019-04-20 07:47:41 UTC >++++ src/Environment/realwx_ctrl.cxx >+@@ -426,7 +426,7 @@ void NoaaMetarRealWxController::requestMetar >+ ) >+ { >+ static const std::string NOAA_BASE_URL = >+- "http://tgftp.nws.noaa.gov/data/observations/metar/stations/"; >++ "https://tgftp.nws.noaa.gov/data/observations/metar/stations/"; >+ class NoaaMetarGetRequest: >+ public simgear::HTTP::MemoryRequest >+ { >Index: files/patch-src_Main_metar__main.cxx >=================================================================== >--- files/patch-src_Main_metar__main.cxx (nonexistent) >+++ files/patch-src_Main_metar__main.cxx (working copy) >@@ -0,0 +1,14 @@ >+# games/flightgear: METAR data won't download >+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237400 >+ >+--- src/Main/metar_main.cxx.orig 2019-04-20 07:48:18 UTC >++++ src/Main/metar_main.cxx >+@@ -539,7 +539,7 @@ int main(int argc, char *argv[]) >+ try >+ { >+ static const std::string NOAA_BASE_URL = >+- "http://tgftp.nws.noaa.gov/data/observations/metar/stations/"; >++ "https://tgftp.nws.noaa.gov/data/observations/metar/stations/"; >+ HTTP::MemoryRequest* mr = new HTTP::MemoryRequest >+ ( >+ NOAA_BASE_URL
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237400
:
203810
|
203811
|
203815
|
203816
| 203819