summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/flightgear')
-rw-r--r--games-simulation/flightgear/Manifest2
-rw-r--r--games-simulation/flightgear/files/flightgear-2020.3.11-fix-assert.patch12
-rw-r--r--games-simulation/flightgear/flightgear-2020.3.11.ebuild (renamed from games-simulation/flightgear/flightgear-2020.3.8.ebuild)1
3 files changed, 14 insertions, 1 deletions
diff --git a/games-simulation/flightgear/Manifest b/games-simulation/flightgear/Manifest
index 223daa3527e8..0d9ca261c9e9 100644
--- a/games-simulation/flightgear/Manifest
+++ b/games-simulation/flightgear/Manifest
@@ -1 +1 @@
-DIST flightgear-2020.3.8.tar.bz2 8922064 BLAKE2B b345e8a5e733d48c1e061feb11ed96f130ab2d4832c478e9251092862668007eb7e39b29720c7274b91d63eff34cb21597fa6384b6837a5949feeceb6db62331 SHA512 b2c5afeae65558bf086ce20b22a2802580b3ac177f049a8df3b70437adbc6fee067673372c19c14a1c10ffac81a4a77fb13c68d342094a84605190fd3f5442e9
+DIST flightgear-2020.3.11.tar.bz2 8926212 BLAKE2B 03b3203fb688fe842247f8ac11957f438f02154cbc992bb98076ab3dd6fcac5f3241509cc1c621f3b647487b772257763d154c756792ce8ff738ff5396fe07ef SHA512 9a7c6f262da8daf3d954df7a2a8a96e555f3212c1d949211d0dbddd08a8f7380fa8f4986d60f48e17db563154d250184ee772b79b10277a2c5819fabec3930ee
diff --git a/games-simulation/flightgear/files/flightgear-2020.3.11-fix-assert.patch b/games-simulation/flightgear/files/flightgear-2020.3.11-fix-assert.patch
new file mode 100644
index 000000000000..f35cf2c426a4
--- /dev/null
+++ b/games-simulation/flightgear/files/flightgear-2020.3.11-fix-assert.patch
@@ -0,0 +1,12 @@
+diff -ruN flightgear-2020.3.11/src/Navaids/PositionedOctree.cxx fgfs-my/src/Navaids/PositionedOctree.cxx
+--- flightgear-2020.3.11/src/Navaids/PositionedOctree.cxx 2021-07-29 11:35:40.000000000 +0200
++++ fgfs-my/src/Navaids/PositionedOctree.cxx 2021-09-16 23:01:20.989931176 +0200
+@@ -148,7 +148,7 @@
+
+ void Leaf::insertChild(FGPositioned::Type ty, PositionedID id)
+ {
+- assert(childrenLoaded);
++ assert(_childrenLoaded);
+ children.insert(children.end(), TypedPositioned(ty, id));
+ }
+
diff --git a/games-simulation/flightgear/flightgear-2020.3.8.ebuild b/games-simulation/flightgear/flightgear-2020.3.11.ebuild
index d985a68664d6..63fa5defb424 100644
--- a/games-simulation/flightgear/flightgear-2020.3.8.ebuild
+++ b/games-simulation/flightgear/flightgear-2020.3.11.ebuild
@@ -65,6 +65,7 @@ RDEPEND="${COMMON_DEPEND}
PATCHES=(
"${FILESDIR}/${PN}-2020.3.8-cmake.patch"
+ "${FILESDIR}/${PN}-2020.3.11-fix-assert.patch"
)
DOCS=(AUTHORS ChangeLog NEWS README Thanks)