summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2016-07-16 04:14:03 +0000
committermarkd <markd@pkgsrc.org>2016-07-16 04:14:03 +0000
commit534b6822554d03b1a00c43e1baf921bbafdba610 (patch)
tree0ad45eaee858da88066ef42fdeff0f1252aac5ab
parentaccf32ee02a98ad82428cfba013600863b69c640 (diff)
downloadpkgsrc-534b6822554d03b1a00c43e1baf921bbafdba610.tar.gz
gcc6 build fix
-rw-r--r--misc/kstars/distinfo4
-rw-r--r--misc/kstars/patches/patch-kstars_fitsviewer_fitsimage.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/misc/kstars/distinfo b/misc/kstars/distinfo
index c0758cc55f0..a4d1cc9f69a 100644
--- a/misc/kstars/distinfo
+++ b/misc/kstars/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.13 2015/11/03 23:49:41 agc Exp $
+$NetBSD: distinfo,v 1.14 2016/07/16 04:14:03 markd Exp $
SHA1 (kstars-4.14.3.tar.xz) = 108b204308d464f03f3119b08d2e53c203615c05
RMD160 (kstars-4.14.3.tar.xz) = 6e0ae12cc2b7c9277294c720ebab6502d3fffd29
SHA512 (kstars-4.14.3.tar.xz) = c843506ae0d85e03b9ac3b11be73f35b66f9fc64adddf7a4643cb397fc59628920254aa056d7bf968b54893ce035d40d0c17a7d0fc576d3dae5799fd0f16ec3e
Size (kstars-4.14.3.tar.xz) = 12374500 bytes
-SHA1 (patch-kstars_fitsviewer_fitsimage.cpp) = f18ceecfa2267d0957f7f5d3b6e609a2d861b375
+SHA1 (patch-kstars_fitsviewer_fitsimage.cpp) = 006d16c81f6eaf897cc65233409b3b9af4b07868
SHA1 (patch-kstars_skyobjects_satellite.cpp) = a30cd6139fff8e5968d704b901dd2a059548d527
SHA1 (patch-kstars_tools_altvstime.cpp) = 24b8d4c31216fd08353e29825c6213349cfa6287
SHA1 (patch-kstars_widgets_moonphasecalendarwidget.h) = c3c507447ea4586b2d1224e49cb4c44ba0a13918
diff --git a/misc/kstars/patches/patch-kstars_fitsviewer_fitsimage.cpp b/misc/kstars/patches/patch-kstars_fitsviewer_fitsimage.cpp
index 42b01950b2f..1010bc0d612 100644
--- a/misc/kstars/patches/patch-kstars_fitsviewer_fitsimage.cpp
+++ b/misc/kstars/patches/patch-kstars_fitsviewer_fitsimage.cpp
@@ -1,4 +1,4 @@
-$NetBSD: patch-kstars_fitsviewer_fitsimage.cpp,v 1.1 2013/06/23 19:09:15 jperkin Exp $
+$NetBSD: patch-kstars_fitsviewer_fitsimage.cpp,v 1.2 2016/07/16 04:14:03 markd Exp $
Avoid "ambiguous call to overloaded function" errors.
@@ -9,7 +9,7 @@ Avoid "ambiguous call to overloaded function" errors.
int diff_y=s1->y - s2->y;
- dis = abs( sqrt( diff_x*diff_x + diff_y*diff_y));
-+ dis = abs( sqrt((float)diff_x*diff_x + diff_y*diff_y));
++ dis = std::abs( sqrt((float)diff_x*diff_x + diff_y*diff_y));
dis -= s1->width/2;
dis -= s2->width/2;