From ef36d50d9ba5f328167534f1cee6b3d3b0b318bd Mon Sep 17 00:00:00 2001 From: Florent Rougon Date: Thu, 8 Dec 2016 19:20:06 +0100 Subject: [PATCH] Add directory changes-in-dat-files/apt.dat with two patches for apt.dat 000-general-modify-header.patch: indicate that apt.dat has been modified by the FlightGear team 001-CCC5-fix-missing-Unicom-frequency.patch: add missing Unicom frequency for CCC5 (Havelock), thanks to wkitty42 The patch files have LF line endings (otherwise this is a mess: some lines ending with LF and others with CRLF inside the same file). In order to obtain this, apt.dat has been recoded to LF line endings (Unix and MacOS X), then the changes have been made, the diff commands run, and finally the resulting file has been recoded with CRLF line endings (Windows) before being gzipped and written to FGData. This was done so in order to preserve compatibility with software that could not handle a change in $FG_ROOT/Airports/apt.dat.gz's line ending style. --- .../apt.dat/000-general-modify-header.patch | 9 +++++++++ .../001-CCC5-fix-missing-Unicom-frequency.patch | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 changes-in-dat-files/apt.dat/000-general-modify-header.patch create mode 100644 changes-in-dat-files/apt.dat/001-CCC5-fix-missing-Unicom-frequency.patch diff --git a/changes-in-dat-files/apt.dat/000-general-modify-header.patch b/changes-in-dat-files/apt.dat/000-general-modify-header.patch new file mode 100644 index 0000000..70c60da --- /dev/null +++ b/changes-in-dat-files/apt.dat/000-general-modify-header.patch @@ -0,0 +1,9 @@ +--- apt.dat 2016-12-08 18:43:50.000000000 +0100 ++++ apt.dat-000 2016-12-08 18:56:02.310707492 +0100 +@@ -1,5 +1,5 @@ + I +-1000 Version - data cycle 2013.10, build 20131335, metadata AptXP1000. Copyright © 2013, Robin A. Peel (robin@x-plane.com). This data is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program ("AptNavGNULicence.txt"); if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ++1000 Version - data cycle 2013.10, build 20131335, metadata AptXP1000, further modified by the FlightGear team (cf. ). Copyright © 2013, Robin A. Peel (robin@x-plane.com). This data is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program ("AptNavGNULicence.txt"); if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + + 1 15 1 0 VHXX [X] CLOSED Kai Tak diff --git a/changes-in-dat-files/apt.dat/001-CCC5-fix-missing-Unicom-frequency.patch b/changes-in-dat-files/apt.dat/001-CCC5-fix-missing-Unicom-frequency.patch new file mode 100644 index 0000000..710635d --- /dev/null +++ b/changes-in-dat-files/apt.dat/001-CCC5-fix-missing-Unicom-frequency.patch @@ -0,0 +1,11 @@ +--- apt.dat 2016-12-08 18:56:02.310707492 +0100 ++++ apt.dat-001 2016-12-08 19:01:00.082169377 +0100 +@@ -926129,7 +926129,7 @@ + 19 45.98520090 -065.30815534 1 WS + 19 45.98509598 -065.29620316 1 WS + 19 45.98776000 -065.29826459 1 WS +-51 12320 ++51 12320 CTAF/UNICOM + + 1 1000 0 1 3MN7 Haven + 100 22.86 3 0 0.25 0 0 0 15 45.49243037 -094.12309108 0.00 0.00 1 0 0 0 33 45.48749963 -094.11966060 0.00 0.00 1 0 0 0