head 1.3; access; symbols pkgsrc-2018Q3:1.2.0.58 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.56 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.54 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.52 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.50 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.46 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.44 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.42 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.40 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.38 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.36 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.34 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.32 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.30 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.28 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.26 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.24 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.22 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.20 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.18 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.16 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.14 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.12 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.10 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.8 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.6 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.4 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.1.0.34 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.32 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.30 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.28 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.26 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.24 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.22 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.20 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.18 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.16 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.14 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.12 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.10 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.8 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.6 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.4 pkgsrc-2008Q1:1.1.0.2 pkgsrc-2008Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2018.10.12.18.00.55; author he; state dead; branches; next 1.2; commitid R8howq6sLiS9jHVA; 1.2 date 2011.11.22.20.02.48; author joerg; state Exp; branches; next 1.1; 1.1 date 2008.01.14.02.04.41; author rillig; state Exp; branches; next ; desc @@ 1.3 log @Switch upstream for blackbox70, and upgrade to version 0.72. The old upstream last had a release in November 2005, and the new upstream in May this year. In recent rebuilds, the old version has developed "focus issues" when run with "sloppy focus", as is my preference. The new upstream is a fork of blackbox but where this among other issues have been fixed. The patches have also been re-done and partly renamed, and some of the old patches to build with SunPro have not been carried forward, as I don't have a suitable system to verify that these are still required. @ text @$NetBSD: patch-aa,v 1.2 2011/11/22 20:02:48 joerg Exp $ Sunpro cannot resolve sqrt(int) to either sqrt(double) or sqrt(long double). --- lib/Image.cc.orig 2005-04-08 15:41:09.000000000 +0000 +++ lib/Image.cc @@@@ -44,6 +44,7 @@@@ #include #include #include +#include // #define COLORTABLE_DEBUG // #define MITSHM_DEBUG @@@@ -1694,14 +1695,14 @@@@ void bt::Image::egradient(const Color &f for (y = 0; y < height; ++y) { for (x = 0; x < width; ++x, ++p) { p->red = static_cast - (tr - (rsign * static_cast(sqrt(xt[0][x] + - yt[0][y])))); + (tr - (rsign * static_cast(sqrt(double(xt[0][x] + + yt[0][y]))))); p->green = static_cast - (tg - (gsign * static_cast(sqrt(xt[1][x] + - yt[1][y])))); + (tg - (gsign * static_cast(sqrt(double(xt[1][x] + + yt[1][y]))))); p->blue = static_cast - (tb - (bsign * static_cast(sqrt(xt[2][x] + - yt[2][y])))); + (tb - (bsign * static_cast(sqrt(double(xt[2][x] + + yt[2][y]))))); } } } else { @@@@ -1709,14 +1710,14 @@@@ void bt::Image::egradient(const Color &f for (y = 0; y < height; ++y) { for (x = 0; x < width; ++x, ++p) { p->red = static_cast - (tr - (rsign * static_cast(sqrt(xt[0][x] - + yt[0][y])))); + (tr - (rsign * static_cast(sqrt(double(xt[0][x] + + yt[0][y]))))); p->green = static_cast - (tg - (gsign * static_cast(sqrt(xt[1][x] - + yt[1][y])))); + (tg - (gsign * static_cast(sqrt(double(xt[1][x] + + yt[1][y]))))); p->blue = static_cast - (tb - (bsign * static_cast(sqrt(xt[2][x] - + yt[2][y])))); + (tb - (bsign * static_cast(sqrt(double(xt[2][x] + + yt[2][y]))))); if (y & 1) { p->red = (p->red >> 1) + (p->red >> 2); @ 1.2 log @Fix build with newer GCC. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Fixed build failures with sunpro. @ text @d6 11 a16 3 --- lib/Image.cc.orig 2005-04-08 17:41:09.000000000 +0200 +++ lib/Image.cc 2007-12-05 16:04:26.019637000 +0100 @@@@ -1694,14 +1694,14 @@@@ void bt::Image::egradient(const Color &f d37 1 a37 1 @@@@ -1709,14 +1709,14 @@@@ void bt::Image::egradient(const Color &f @