kstars: Fix __sun check.

This commit is contained in:
jperkin 2018-05-17 11:18:50 +00:00
parent 54999cc714
commit 89c32b0e73
2 changed files with 17 additions and 1 deletions

View file

@ -1,10 +1,11 @@
$NetBSD: distinfo,v 1.14 2016/07/16 04:14:03 markd Exp $
$NetBSD: distinfo,v 1.15 2018/05/17 11:18:50 jperkin 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) = 006d16c81f6eaf897cc65233409b3b9af4b07868
SHA1 (patch-kstars_htmesh_SkipListElement.h) = 0636fc46b3aae72ab1dcf442a5029d97d635b23c
SHA1 (patch-kstars_skyobjects_satellite.cpp) = a30cd6139fff8e5968d704b901dd2a059548d527
SHA1 (patch-kstars_tools_altvstime.cpp) = 24b8d4c31216fd08353e29825c6213349cfa6287
SHA1 (patch-kstars_widgets_moonphasecalendarwidget.h) = c3c507447ea4586b2d1224e49cb4c44ba0a13918

View file

@ -0,0 +1,15 @@
$NetBSD: patch-kstars_htmesh_SkipListElement.h,v 1.1 2018/05/17 11:18:50 jperkin Exp $
Fix __sun check.
--- kstars/htmesh/SkipListElement.h.orig 2014-09-19 05:39:42.000000000 +0000
+++ kstars/htmesh/SkipListElement.h
@@ -20,7 +20,7 @@
#ifdef _WIN32
#define KEY_MAX _I64_MAX
#else
-# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || ( defined(__SUNPRO_CC) && defined(__sun) )
+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__sun)
# define KEY_MAX LLONG_MAX
# else
# define KEY_MAX LONG_LONG_MAX