freebsd-ports/games/flightgear-terragear/files/patch-tg_shapefile.cxx
Torsten Zuehlsdorff fed3ef2f5f 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>
2018-04-05 08:50:40 +00:00

11 lines
291 B
C++

--- 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 );
}
}