View | Details | Raw Unified | Return to bug 223648 | Differences between
and this patch

Collapse All | Expand All

(-)games/flightgear-terragear/Makefile (+32 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	flightgear-terragear
4
PORTVERSION=	20171007
5
CATEGORIES=	games
6
7
MAINTAINER=	mike.d.ft402@gmail.com
8
COMMENT=	Tools for building scenery for the FlightGear project
9
10
LICENSE=	GPLv2
11
12
BUILD_DEPENDS=	${LOCALBASE}/lib/libSimGearCore.a:devel/simgear
13
LIB_DEPENDS=	libCGAL.so:math/cgal \
14
		libgdal.so:graphics/gdal \
15
		libmpfr.so:math/mpfr \
16
		libgmp.so:math/gmp \
17
		libboost_thread.so:devel/boost-libs \
18
		libboost_system.so:devel/boost-libs \
19
		libboost_chrono.so:devel/boost-libs \
20
		libboost_date_time.so:devel/boost-libs \
21
		libboost_atomic.so:devel/boost-libs \
22
		libtiff.so:graphics/tiff
23
RUN_DEPENDS=	${LOCALBASE}/lib/libSimGearCore.a:devel/simgear
24
25
USE_GITHUB=	yes
26
GH_ACCOUNT=	flightgear
27
GH_PROJECT=	terragear
28
GH_TAGNAME=	5b5e5fc
29
30
USES=	cmake
31
32
.include <bsd.port.mk>
(-)games/flightgear-terragear/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1510318229
2
SHA256 (flightgear-terragear-20171007-5b5e5fc_GH0.tar.gz) = c590cc233238ce1a85e2270fdaa1eaef753ba5b481f602790b676afb932e6d7d
3
SIZE (flightgear-terragear-20171007-5b5e5fc_GH0.tar.gz) = 2615341
(-)games/flightgear-terragear/files/patch-tg_misc.cxx (+20 lines)
Line 0 Link Here
1
--- src/Lib/terragear/tg_misc.cxx.orig	2017-10-07 06:58:20 UTC
2
+++ src/Lib/terragear/tg_misc.cxx
3
@@ -112,8 +112,8 @@
4
     ClipperLib::IntPoint min_pt, max_pt;
5
     SGGeod min, max;
6
 
7
-    min_pt.X = min_pt.Y = LONG_LONG_MAX;
8
-    max_pt.X = max_pt.Y = LONG_LONG_MIN;
9
+    min_pt.X = min_pt.Y = LLONG_MAX;
10
+    max_pt.X = max_pt.Y = LLONG_MIN;
11
 
12
     // for each polygon, we need to check the orientation, to set the hole flag...
13
     for (unsigned int i=0; i<subject.size(); i++)
14
@@ -377,4 +377,4 @@
15
         // handle the no intersection case.
16
         return false;
17
     }
18
-}
19
\ No newline at end of file
20
+}
(-)games/flightgear-terragear/files/patch-tg_shapefile.cxx (+11 lines)
Line 0 Link Here
1
--- src/Lib/terragear/tg_shapefile.cxx.orig	2017-10-07 06:58:20 UTC
2
+++ src/Lib/terragear/tg_shapefile.cxx
3
@@ -152,7 +152,7 @@
4
     }
5
 
6
     // close after each write
7
-    if ( ds_id >= 0 ) {
8
+    if ( ds_id >= (void *)0 ) {
9
         ds_id = tgShapefile::CloseDatasource( ds_id );
10
     }
11
 }
(-)games/flightgear-terragear/pkg-descr (+11 lines)
Line 0 Link Here
1
TerraGear is a collection of tools for building scenery for the
2
FlightGear project.  Generally, the process is done in two steps:
3
4
  1. Preprocess the original raw data.  This chops up the data into
5
     the FG tiling scheme and saves it in a simple, intermediate
6
     format.
7
8
  2. Collect all the different pieces of intermediate data and
9
     assemble them into a 3d model of the terrain.
10
11
WWW: https://github.com/FlightGear/terragear
(-)games/flightgear-terragear/pkg-plist (+14 lines)
Line 0 Link Here
1
bin/demchop
2
bin/fillvoids
3
bin/gdalchop
4
bin/genapts850
5
bin/hgtchop
6
bin/ogr-decode
7
bin/poly2ogr
8
bin/srtmchop
9
bin/terrafit
10
bin/test_array
11
bin/testassem
12
bin/tg-construct
13
share/TerraGear/default_priorities.txt
14
share/TerraGear/usgsmap.txt

Return to bug 223648