head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.40 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.38 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.36 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.34 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.32 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.30 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.28 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.26 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.24 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.22 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.20 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.18 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.16 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.14 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.12 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.10 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.8 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.6 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.4 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.2 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.2.0.4 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.1.0.2 pkgsrc-2004Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2005.06.24.06.43.47; author jlam; state dead; branches; next 1.2; 1.2 date 2004.12.29.19.41.25; author jlam; state Exp; branches; next 1.1; 1.1 date 2004.12.11.16.19.29; author jlam; state Exp; branches; next ; desc @@ 1.3 log @Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and update lang/perl5 to perl-5.8.6nb4. Modify packages that referred to lang/perl58 to point to lang/perl5 instead. @ text @$NetBSD: patch-ci,v 1.2 2004/12/29 19:41:25 jlam Exp $ --- pp_sys.c.orig 2004-10-19 13:07:23.000000000 -0400 +++ pp_sys.c @@@@ -4450,9 +4450,11 @@@@ PP(pp_gmtime) when = (Time_t)SvIVx(POPs); #endif - if (PL_op->op_type == OP_LOCALTIME) + if (PL_op->op_type == OP_LOCALTIME) { + /* Explicitly invoke tzset() as localtime_r may not. */ + tzset(); tmbuf = localtime(&when); - else + } else tmbuf = gmtime(&when); if (GIMME != G_ARRAY) { @ 1.2 log @Update lang/perl58 to perl-5.8.6. Selected hanges from version 5.8.5 include: * By default, platforms that have native threads will build a threaded perl. Note that you will likely have to rebuild your Perl modules after this update unless your Perl is already threaded. * The perl interpreter is now more tolerant of UTF-16-encoded scripts. * Several core modules were updated. * Perl has a new -dt command-line flag, which enables threads support in the debugger. * "foreach" on threads::shared array used to be able to crash Perl. This bug has now been fixed. * A regexp in "STDOUT"'s destructor used to coredump, because the regexp pad was already freed. This has been fixed. * Using "delete" on an array no longer leaks memory. A "pop" of an item from a shared array reference no longer causes a leak. * "eval_sv()" failing a taint test could corrupt the stack - this has been fixed. * On platforms with 64 bit pointers numeric comparison operators used to erroneously compare the addresses of references that are overloaded, rather than using the overloaded values. This has been fixed. * From now on all applications embedding perl will behave as if perl were compiled with -DPERL_USE_SAFE_PUTENV. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @The Open Group says that localtime_r() doesn't need to ensure that the tz* related variables are initialized when it is invoked. In fact, Solaris does do this while NetBSD 2.0 does not. Explicitly call tzset() before calling localtime_r() to initialize the local timezone data. This fixes the output of: perl -e '$t = localtime($^T); print "$t\n";' ; date to always print the time in the local timezone twice instead of the first time in UTC and the second in the local timezone. Bump the PKGREVISION. @ text @d3 3 a5 3 --- pp_sys.c.orig 2004-03-22 14:54:11.000000000 -0500 +++ pp_sys.c 2004-12-11 10:47:42.000000000 -0500 @@@@ -4438,9 +4438,11 @@@@ @