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

(-)Makefile (-2 lines)
Lines 20-26 Link Here
20
		osg:${PORTSDIR}/graphics/osg
20
		osg:${PORTSDIR}/graphics/osg
21
21
22
USE_BZIP2=	yes
22
USE_BZIP2=	yes
23
USE_GCC=	any
24
USE_XORG=	ice sm x11 xext xi xt xmu
23
USE_XORG=	ice sm x11 xext xi xt xmu
25
USE_OPENAL=	al alut
24
USE_OPENAL=	al alut
26
USE_GL=		gl glu glut
25
USE_GL=		gl glu glut
Lines 27-31 Link Here
27
USES=		cmake
26
USES=		cmake
28
CMAKE_ARGS+=	-DJPEG_FACTORY:BOOL=ON
27
CMAKE_ARGS+=	-DJPEG_FACTORY:BOOL=ON
29
28
30
NO_STAGE=	yes
31
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)files/patch-simgear-misc-gzcontainerfile.cxx (+10 lines)
Line 0 Link Here
1
--- simgear/misc/gzcontainerfile.cxx.orig	2013-01-28 21:02:28.000000000 +0400
2
+++ simgear/misc/gzcontainerfile.cxx	2013-09-24 21:12:52.827520277 +0400
3
@@ -49,6 +49,7 @@
4
 #include <simgear/misc/stdint.hxx>
5
 
6
 #include <string.h>
7
+#include <stdlib.h>
8
 
9
 using namespace std;
10
 using namespace simgear;
(-)files/patch-simgear-scene-sky-cloud.cxx (+11 lines)
Line 0 Link Here
1
--- simgear/scene/sky/cloud.cxx.orig	2013-01-28 21:02:28.000000000 +0400
2
+++ simgear/scene/sky/cloud.cxx	2013-09-24 22:18:51.438519302 +0400
3
@@ -736,7 +736,7 @@
4
             // this happens, lets just use the last known good course.
5
             // This is a hack, and it would probably be better to make
6
             // calc_gc_course_dist() more robust.
7
-            if ( isnan(course) ) {
8
+            if ( std::isnan(course) ) {
9
                 course = last_course;
10
             } else {
11
                 last_course = course;
(-)files/patch-simgear-sound-sample__group.cxx (+11 lines)
Line 0 Link Here
1
--- simgear/sound/sample_group.cxx.orig	2013-02-18 18:58:14.000000000 +0400
2
+++ simgear/sound/sample_group.cxx	2013-09-24 22:31:16.203519057 +0400
3
@@ -36,7 +36,7 @@
4
 using std::string;
5
 
6
 bool isNaN(float *v) {
7
-   return (isnan(v[0]) || isnan(v[1]) || isnan(v[2]));
8
+   return (std::isnan(v[0]) || std::isnan(v[1]) || std::isnan(v[2]));
9
 }
10
 
11
 SGSampleGroup::SGSampleGroup () :

Return to bug 182417