diff options
author | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2018-04-05 08:50:40 +0000 |
---|---|---|
committer | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2018-04-05 08:50:40 +0000 |
commit | fed3ef2f5f50d8d64c54d6fd33bbf3c08adb19d9 (patch) | |
tree | 85a015672d9ac7271900a68b285df2875ab90c02 /games/flightgear-terragear/files/patch-tg_shapefile.cxx | |
parent | Fix build with ld.lld linker. (diff) |
New port: games/flightgear-terragear
TerraGear is a collection of tools for building scenery for the
FlightGear project. Generally, the process is done in two steps:
1. Preprocess the original raw data. This chops up the data into
the FG tiling scheme and saves it in a simple, intermediate
format.
2. Collect all the different pieces of intermediate data and
assemble them into a 3d model of the terrain.
WWW: https://github.com/FlightGear/terragear
PR: 223648
Submitted by: Michael Danilov <mike.d.ft402@gmail.com>
Diffstat (limited to 'games/flightgear-terragear/files/patch-tg_shapefile.cxx')
-rw-r--r-- | games/flightgear-terragear/files/patch-tg_shapefile.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/flightgear-terragear/files/patch-tg_shapefile.cxx b/games/flightgear-terragear/files/patch-tg_shapefile.cxx new file mode 100644 index 000000000000..46e249f09b51 --- /dev/null +++ b/games/flightgear-terragear/files/patch-tg_shapefile.cxx @@ -0,0 +1,11 @@ +--- src/Lib/terragear/tg_shapefile.cxx.orig 2017-10-07 06:58:20 UTC ++++ src/Lib/terragear/tg_shapefile.cxx +@@ -152,7 +152,7 @@ + } + + // close after each write +- if ( ds_id >= 0 ) { ++ if ( ds_id >= (void *)0 ) { + ds_id = tgShapefile::CloseDatasource( ds_id ); + } + } |