pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/simgear/patches games/simgear: Remove old patches.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9ce10119579f
branches: trunk
changeset: 383548:9ce10119579f
user: nia <nia%pkgsrc.org@localhost>
date: Sat Aug 04 11:33:01 2018 +0000
description:
games/simgear: Remove old patches.
diffstat:
games/simgear/patches/patch-simgear_scene_sky_cloud_cxx | 24 -------------
games/simgear/patches/patch-simgear_sound_sample__group_cxx | 16 --------
games/simgear/patches/patch-simgear_timing_timestamp_cxx | 19 ----------
3 files changed, 0 insertions(+), 59 deletions(-)
diffs (71 lines):
diff -r f64f1dc876ef -r 9ce10119579f games/simgear/patches/patch-simgear_scene_sky_cloud_cxx
--- a/games/simgear/patches/patch-simgear_scene_sky_cloud_cxx Sat Aug 04 10:44:15 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-simgear_scene_sky_cloud_cxx,v 1.1 2012/09/30 01:50:16 dholland Exp $
-
-Fix build failure on NetBSD.
-
---- simgear/scene/sky/cloud.cxx.orig 2012-08-16 14:20:29.000000000 +0000
-+++ simgear/scene/sky/cloud.cxx
-@@ -27,7 +27,7 @@
-
- #include <sstream>
-
--#include <math.h>
-+#include <cmath>
-
- #include <simgear/structure/OSGVersion.hxx>
- #include <osg/AlphaFunc>
-@@ -733,7 +733,7 @@ bool SGCloudLayer::reposition( const SGV
- // this happens, lets just use the last known good course.
- // This is a hack, and it would probably be better to make
- // calc_gc_course_dist() more robust.
-- if ( isnan(course) ) {
-+ if ( std::isnan(course) ) {
- course = last_course;
- } else {
- last_course = course;
diff -r f64f1dc876ef -r 9ce10119579f games/simgear/patches/patch-simgear_sound_sample__group_cxx
--- a/games/simgear/patches/patch-simgear_sound_sample__group_cxx Sat Aug 04 10:44:15 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-simgear_sound_sample__group_cxx,v 1.1 2012/09/30 01:50:16 dholland Exp $
-
-Fix build failure on NetBSD.
-
---- simgear/sound/sample_group.cxx~ 2012-08-16 14:20:28.000000000 +0000
-+++ simgear/sound/sample_group.cxx
-@@ -22,2 +22,4 @@
-
-+#include <cmath>
-+
- #ifdef HAVE_CONFIG_H
-@@ -32,3 +34,3 @@
- bool isNaN(float *v) {
-- return (isnan(v[0]) || isnan(v[1]) || isnan(v[2]));
-+ return (std::isnan(v[0]) || std::isnan(v[1]) || std::isnan(v[2]));
- }
diff -r f64f1dc876ef -r 9ce10119579f games/simgear/patches/patch-simgear_timing_timestamp_cxx
--- a/games/simgear/patches/patch-simgear_timing_timestamp_cxx Sat Aug 04 10:44:15 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-simgear_timing_timestamp_cxx,v 1.1 2012/09/30 01:50:16 dholland Exp $
-
-NetBSD does not have clock_nanosleep() so we can't use the
-POSIX_TIMERS code.
-
---- simgear/timing/timestamp.cxx~ 2012-08-16 14:20:29.000000000 +0000
-+++ simgear/timing/timestamp.cxx
-@@ -47,6 +47,11 @@
- # include <time.h>
- #endif
-
-+#ifdef __NetBSD__
-+/* XXX netbsd doesn't have clock_nanosleep */
-+#undef _POSIX_TIMERS
-+#endif
-+
- #ifdef WIN32
- # include <windows.h>
- # if defined( __CYGWIN__ ) || defined( __CYGWIN32__ )
Home |
Main Index |
Thread Index |
Old Index