Package: flightgear / 3.0.0-5

Metadata

Package Version Patches format
flightgear 3.0.0-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
systemLibraries.patch | (download)

3rdparty/iaxclient/lib/CMakeLists.txt | 148 87 + 61 - 0 !
3rdparty/iaxclient/lib/audio_encode.c | 8 6 + 2 - 0 !
CMakeLists.txt | 13 13 + 0 - 0 !
CMakeModules/FindGsm.cmake | 88 88 + 0 - 0 !
CMakeModules/FindSpeex.cmake | 87 87 + 0 - 0 !
CMakeModules/FindSpeexdsp.cmake | 88 88 + 0 - 0 !
6 files changed, 369 insertions(+), 63 deletions(-)

 link against system provided libgsm and libspeex.
nasal fix.patch | (download)

src/Scripting/NasalSys.cxx | 52 33 + 19 - 0 !
src/Scripting/NasalSys.hxx | 4 3 + 1 - 0 !
2 files changed, 36 insertions(+), 20 deletions(-)

 fix crash with nasal bindings.
 naBindFunction doesn't save the function code to the global
 hash, so pass an explicit context to various 'call' overloads so
 the function can't be GC-ed in between parsing and calling.
fix mobile tacan.patch | (download)

src/Instrumentation/tacan.cxx | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix mobile tacan
750939.patch | (download)

src/Scripting/NasalSys.cxx | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix hang in nested nasal calls

naCall() increments Nasal's "active threads" count; as Nasal's garbage
collector first asks all other threads to stop and waits for them to
say they have, this can cause a hang when used in a function that was
itself called from Nasal (inner function's GC waiting for outer function
to say it has stopped, outer function waiting for inner function to return).

naCallMethodCtx() doesn't, to avoid exactly this problem.
(simgear simgear/nasal/nasal.h:108)

(Deliberately not changing NasalXMLVisitor: that already uses naSubContext,
another mechanism to do the same thing.)

6a30e7.patch | (download)

src/Main/util.cxx | 155 133 + 22 - 0 !
src/Main/util.hxx | 7 6 + 1 - 0 !
src/Scripting/NasalSys.cxx | 3 3 + 0 - 0 !
3 files changed, 142 insertions(+), 23 deletions(-)

 restrict file access for nasal scripts.
 Stop using property listener for fgValidatePath
 .   
 This was insecure: while removelistener() won't remove it, there are
 other ways to remove a listener from Nasal