head 1.5; access; symbols pkgsrc-2020Q2:1.4.0.76 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.56 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.78 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.74 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.72 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.70 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.68 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.66 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.64 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.62 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.60 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.58 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.54 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.52 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.50 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.48 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.46 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.44 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.42 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.40 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.38 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.36 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.34 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.32 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.30 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.28 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.26 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.24 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.22 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.20 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.18 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.16 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.14 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.12 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.10 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.8 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.6 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.4 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.2 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.3.0.20 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.18 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.16 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.14 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.12 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.10 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.8 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.6 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.4 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.2 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.2.0.22 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.20 pkgsrc-2008Q1:1.2.0.18 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.16 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.14 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.12 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.10 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.8 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.6 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.1.0.16 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.14 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.12 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.10 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.8 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.6 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.4 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.2 pkgsrc-2004Q1-base:1.1; locks; strict; comment @# @; 1.5 date 2020.08.08.21.55.54; author brook; state dead; branches; next 1.4; commitid gkyl0ZdSA72FcjjC; 1.4 date 2010.11.26.11.29.08; author obache; state Exp; branches; next 1.3; 1.3 date 2008.08.17.07.02.39; author dholland; state Exp; branches; next 1.2; 1.2 date 2006.01.03.19.21.17; author joerg; state Exp; branches; next 1.1; 1.1 date 2004.02.02.03.19.25; author kristerw; state Exp; branches; next ; desc @@ 1.5 log @math/udunits: update to udunits2 v2.2.26. The UDUNITS-2 package differs from the previous UDUNITS package in the following ways: Support for non-ASCII characters. The original UDUNITS package only supports the ASCII character set. The UDUNITS-2 package supports the following character sets: ASCII, ISO 8859-1 (Latin 1), and the UTF-8 encoding of ISO 10646 (Unicode). This means that unit string specifications like "µ°F·Ω⁻¹" are now supported (your viewer must support UTF-8 to display this string correctly). Support for logarithmic units. The unit string specification "0.1 lg(re 1 mW)" specifies a deciBel unit with a one milliwatt reference level. Meteorologists should note that the unit "dBZ" (i.e., "0.1 lg(re um^3)") is now supported. Persistent value converters. It is now possible to obtain a converter data-object, which can be used to convert numeric values in one unit to numeric values in another, compatible unit. The values can be float, double, or one-dimensional arrays of floats or doubles. Improved API. Due to the above changes, it was not possible to keep the application programming interface of the original UDUNITS package. Beginning with version 2.1.0, however, the package contains a thin UDUNITS API to the UDUNITS-2 library, so code written to the original API can simply be recompiled and relinked against the new package. Because the original UDUNITS API uses the "utUnit" data-structure and the UDUNITS-2 API uses pointers to "ut_unit" data-structures, a small memory-leak is possible in code that creates many units. This leak can be avoided by calling the new method utFree(utUnit*) when the unit is no longer needed. XML unit database. The unit database is encoded using human-readable XML rather than a custom format. The XML parser included in the package supports an element to allow easy and convenient customization. One thing that has not changed is that all unit string specifications understood by the original UDUNITS package are also understood by the new UDUNITS-2 package. @ text @$NetBSD: patch-ac,v 1.4 2010/11/26 11:29:08 obache Exp $ --- configure.orig 2003-08-29 11:53:25.000000000 -0400 +++ configure 2008-08-17 02:59:48.000000000 -0400 @@@@ -2094,8 +2094,9 @@@@ echo "configure:2093: checking for (void #line 2095 "configure" #include "confdefs.h" +double val; int main() { -(void)sin(0.0); +return sin(val); ; return 0; } EOF if { (eval echo configure:2102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then @@@@ -2141,8 +2142,9 @@@@ echo "configure:2140: checking for (void #line 2142 "configure" #include "confdefs.h" +double val; int main() { -(void)sin(0.0); +return sin(val); ; return 0; } EOF if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then @@@@ -5398,6 +5400,9 @@@@ echo "configure:5396: checking for posit HP-UX) picflag=+z ;; + NetBSD|FreeBSD|OpenBSD|DragonFly|Linux|SunOS) + picflag=-fPIC + ;; esac case "$picflag" in '') @ 1.4 log @This part should not be in patch file. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2008/08/17 07:02:39 dholland Exp $ @ 1.3 log @Use -fPIC. Fixes broken build on amd64 and probably others. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2006/01/03 19:21:17 joerg Exp $ a36 9 @@@@ -5597,6 +5602,8 @@@@ for ac_option do case "\$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + : Avoid regenerating within pkgsrc + exit 0 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) @ 1.2 log @Make it a bit harder for the compiler to optimise the sin() test away: Use a global variable as argument. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- configure.orig 2003-08-29 15:53:25.000000000 +0000 +++ configure d27 19 @ 1.1 log @Fix a case where gcc3.3 is too clever for autoconf. configure tries to determine if -lm is needed by compiling int main() { (void)sin(0.0); ; return 0; } and see if linking fails. But gcc3.3 optimizes that to just "return 0;" @ text @d3 4 a6 3 --- configure.orig 2004-02-02 04:09:56.000000000 +0100 +++ configure 2004-02-02 04:11:44.000000000 +0100 @@@@ -2095,7 +2095,7 @@@@ d9 1 d12 1 a12 1 +return sin(0.0); d16 2 a17 1 @@@@ -2142,7 +2142,7 @@@@ d20 1 d23 1 a23 1 +return sin(0.0); @