View | Details | Raw Unified | Return to bug 199600
Collapse All | Expand All

(-)math/saga/Makefile (+1 lines)
Lines 31-36 CFLAGS+= -I${LOCALBASE}/include Link Here
31
GNU_CONFIGURE=	yes
31
GNU_CONFIGURE=	yes
32
LDFLAGS+=	-L${LOCALBASE}/lib -lopencv_contrib
32
LDFLAGS+=	-L${LOCALBASE}/lib -lopencv_contrib
33
USE_LDCONFIG=	yes
33
USE_LDCONFIG=	yes
34
USE_CXXSTD=	c++11
34
USE_WX=		3.0+
35
USE_WX=		3.0+
35
USES=		autoreconf compiler:gcc-c++11-lib iconv:wchar_t dos2unix libtool python:2
36
USES=		autoreconf compiler:gcc-c++11-lib iconv:wchar_t dos2unix libtool python:2
36
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
37
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
(-)math/saga/files/patch-src__modules__io__io_shapes_las__las_export.cpp (+21 lines)
Line 0 Link Here
1
--- src/modules/io/io_shapes_las/las_export.cpp.orig	2014-01-09 10:24:11 UTC
2
+++ src/modules/io/io_shapes_las/las_export.cpp
3
@@ -333,12 +333,12 @@ bool CLAS_Export::On_Execute(void)
4
 		y	= pPoints->Get_Y(i);
5
 		z	= pPoints->Get_Z(i);
6
 
7
-		x < xmin ? xmin = x : NULL;
8
-		x > xmax ? xmax = x : NULL;
9
-		y < ymin ? ymin = y : NULL;
10
-		y > ymax ? ymax = y : NULL;
11
-		z < zmin ? zmin = z : NULL;
12
-		z > zmax ? zmax = z : NULL;
13
+		x < xmin ? xmin = x : 0.0;
14
+		x > xmax ? xmax = x : 0.0;
15
+		y < ymin ? ymin = y : 0.0;
16
+		y > ymax ? ymax = y : 0.0;
17
+		z < zmin ? zmin = z : 0.0;
18
+		z > zmax ? zmax = z : 0.0;
19
 
20
 		point.SetCoordinates(x, y, z);
21
 

Return to bug 199600