86f9268481
for many "core" modules, UTF-8 and Unicode bugfixes, and ithreads bugfixes. The major changes are in the pkgsrc infrastructure to handle Perl and Perl modules. All pkgsrc-installed Perl modules are now installed in "vendor" directories, and the perl interpreter has been modifed to search for libraries in the following order: site, vendor, perl. The Perl library is stored in a directory that is named for the Perl ABI version associated with the Perl release, so any updates of Perl to newer versions can be done "in-place" as long as Perl ABI version remains the same. All Perl scripts and man pages are stored in locations that won't conflict between site, vendor, and perl modules, and a new utility perllink(1) now manages symlinks to those scripts and man pages under the usual ${LOCALBASE}/bin and ${LOCALBASE}/man/man1. PERL5_SITEPREFIX may be set to the prefix where local, site-specific modules will be installed, e.g. PERL5_SITEPREFIX=/usr/local. Note that modules installed here are completely unmanaged by pkgsrc. Update the buildlink and tool dependencies on perl to require perl>=5.8.7 to reflect the new locations for Perl modules and the Perl shared library.
18 lines
459 B
Text
18 lines
459 B
Text
$NetBSD: patch-ci,v 1.2 2005/08/06 06:18:45 jlam Exp $
|
|
|
|
--- pp_sys.c.orig 2005-04-27 18:12:46.000000000 -0400
|
|
+++ pp_sys.c
|
|
@@ -4466,9 +4466,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) {
|