diff options
author | rillig <rillig> | 2008-01-13 22:53:10 +0000 |
---|---|---|
committer | rillig <rillig> | 2008-01-13 22:53:10 +0000 |
commit | fa8397118d9322d552a96acf8f6db336d1e72085 (patch) | |
tree | 2f6672f2afc2157a36b4f3d3e792f66a765f3c3f /x11/xglobe | |
parent | c885255af7f1a1b69787e7376d05d3ee2a67ab7e (diff) | |
download | pkgsrc-fa8397118d9322d552a96acf8f6db336d1e72085.tar.gz |
Added a patch for sunpro.
Diffstat (limited to 'x11/xglobe')
-rw-r--r-- | x11/xglobe/distinfo | 4 | ||||
-rw-r--r-- | x11/xglobe/patches/patch-ab | 18 |
2 files changed, 17 insertions, 5 deletions
diff --git a/x11/xglobe/distinfo b/x11/xglobe/distinfo index 2e1d921f931..6e24883944a 100644 --- a/x11/xglobe/distinfo +++ b/x11/xglobe/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2006/01/04 14:54:17 joerg Exp $ +$NetBSD: distinfo,v 1.7 2008/01/13 22:53:10 rillig Exp $ SHA1 (xglobe/LE.400.gif) = acfe3f73a9513b312e2c65403b6b4242c53d9c1a RMD160 (xglobe/LE.400.gif) = 438e79c256f91f979d5fd08f4eb2812c10c4f28b @@ -13,6 +13,6 @@ SHA1 (xglobe/xglobe-0.5.tar.gz) = ba436e1105462577dd9fb1cbedcec93dd58e4e3a RMD160 (xglobe/xglobe-0.5.tar.gz) = 0aa1f0c6fefa2a87d09a0c75fdc897a07889ee5c Size (xglobe/xglobe-0.5.tar.gz) = 982309 bytes SHA1 (patch-aa) = b71a6bd947c0b9c2b4993e66f789083863ed8141 -SHA1 (patch-ab) = d3629dd5e0c4940127938491e1911f1f88a4e1b7 +SHA1 (patch-ab) = 4b8297a44eca21a964d873c02cfc9db1e0893b45 SHA1 (patch-ac) = 3548c21bad7c95f1a5abd8884fa474a297c33b90 SHA1 (patch-ad) = fcc4b34402ec7ff2ceedb5391bb9553f891783fc diff --git a/x11/xglobe/patches/patch-ab b/x11/xglobe/patches/patch-ab index 592cc3a66dd..7909aec3161 100644 --- a/x11/xglobe/patches/patch-ab +++ b/x11/xglobe/patches/patch-ab @@ -1,7 +1,19 @@ -$NetBSD: patch-ab,v 1.2 2004/07/06 22:08:17 hubertf Exp $ +$NetBSD: patch-ab,v 1.3 2008/01/13 22:53:10 rillig Exp $ ---- renderer.cpp.orig 1999-12-06 10:13:35.000000000 -0600 -+++ renderer.cpp 2003-11-14 12:32:03.000000000 -0600 +Line 717 resolves an ambiguity between sqrt(double) and sqrt(long +double) with sunpro. + +--- renderer.cpp.orig 1999-12-06 17:13:35.000000000 +0100 ++++ renderer.cpp 2007-12-05 18:21:58.055143000 +0100 +@@ -713,7 +713,7 @@ + (py-renderedImage->height()/2); + + if(temp >= 0) +- startx = (renderedImage->width()/2 - (int)sqrt(temp)); ++ startx = (renderedImage->width()/2 - int(sqrt(double(temp)))); + else + startx = (renderedImage->width()/2); + @@ -1483,8 +1483,8 @@ labelstring.sprintf("%s, %s %d. %d, %d:%02d %s\n" "View pos %2.2f° %c %2.2f° %c\n" |