Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH] Time-HiRes has moved from "cpan" to "dist" #15166

Closed
p5pRT opened this issue Feb 9, 2016 · 5 comments
Closed

[PATCH] Time-HiRes has moved from "cpan" to "dist" #15166

p5pRT opened this issue Feb 9, 2016 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 9, 2016

Migrated from rt.perl.org#127497 (status was 'resolved')

Searchable as RT127497$

@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2016

From @tomhukins

Created by @tomhukins

Perl passes its tests with this patch to catch up with changes made in
91ba54.

Perl Info

Flags:
    category=core
    severity=low
    Type=Patch
    PatchStatus=HasPatch

Site configuration information for perl 5.23.8:

Configured by tom at Tue Feb  9 11:17:23 UTC 2016.

Summary of my perl5 (revision 5 version 23 subversion 8) configuration:
  Commit id: 3fbac9c8652fc74a325620abcd9e7cf754309c92
  Platform:
    osname=freebsd, osvers=9.3-release-p13, archname=amd64-freebsd
    uname='freebsd canet.scrubhole.org 9.3-release-p13 freebsd 9.3-release-p13 #1 r282738: mon may 11 01:25:08 utc 2015 root@tyne.exonetric.net:usrobjusrsrcsysgeneric amd64 '
    config_args='-des -Dusedevel -Uversiononly -Dprefix=/home/tom/perl-inst/DISCARD'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2',
    optimize='-O',
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.2.1 20070831 patched [FreeBSD]', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib /usr/include/gcc/4.2 /usr/lib
    libs=-lpthread -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib -fstack-protector'



@INC for perl 5.23.8:
    lib
    /home/tom/perl-inst/DISCARD/lib/site_perl/5.23.8/amd64-freebsd
    /home/tom/perl-inst/DISCARD/lib/site_perl/5.23.8
    /home/tom/perl-inst/DISCARD/lib/5.23.8/amd64-freebsd
    /home/tom/perl-inst/DISCARD/lib/5.23.8
    .


Environment for perl 5.23.8:
    HOME=/home/tom
    LANG=en_GB.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/tom/bin
    PERL_BADLANG (unset)
    SHELL=/usr/local/bin/zsh

@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2016

From @tomhukins

0001-Time-HiRes-moved-from-cpan-to-dist-in-91ba54.patch
From 3fbac9c8652fc74a325620abcd9e7cf754309c92 Mon Sep 17 00:00:00 2001
From: Tom Hukins <tom@eborcom.com>
Date: Tue, 9 Feb 2016 11:15:53 +0000
Subject: [PATCH] Time::HiRes moved from "cpan" to "dist" in 91ba54

---
 INSTALL         | 4 ++--
 README.cygwin   | 3 ++-
 cpan/.gitignore | 2 --
 dist/.gitignore | 2 ++
 util.c          | 2 +-
 5 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/INSTALL b/INSTALL
index d25b6e7..85e6545 100644
--- a/INSTALL
+++ b/INSTALL
@@ -2073,8 +2073,8 @@ If your system is quite busy and doesn't respond quickly enough,
 these tests might fail.  If possible, try running the tests again
 with the system under a lighter load.  These timing-sensitive
 and load-sensitive tests include F<t/op/alarm.t>,
-F<cpan/Time-HiRes/t/alarm.t>, F<cpan/Time-HiRes/t/clock.t>,
-F<cpan/Time-HiRes/t/itimer.t>, F<cpan/Time-HiRes/t/usleep.t>,
+F<dist/Time-HiRes/t/alarm.t>, F<dist/Time-HiRes/t/clock.t>,
+F<dist/Time-HiRes/t/itimer.t>, F<dist/Time-HiRes/t/usleep.t>,
 F<dist/threads-shared/t/waithires.t>,
 F<dist/threads-shared/t/stress.t>, F<lib/Benchmark.t>,
 F<lib/Memoize/t/expmod_t.t>, and F<lib/Memoize/t/speed.t>.
diff --git a/README.cygwin b/README.cygwin
index 388dc1a..9d1164b 100644
--- a/README.cygwin
+++ b/README.cygwin
@@ -562,9 +562,10 @@ be kept as clean as possible.
  pod/perltoc.pod Porting/Glossary pod/perlgit.pod
  Porting/checkAUTHORS.pl
  dist/Cwd/Changes ext/Compress-Raw-Zlib/Changes
+ dist/Time-HiRes/Changes
  ext/Compress-Raw-Zlib/README ext/Compress-Zlib/Changes
  ext/DB_File/Changes ext/Encode/Changes ext/Sys-Syslog/Changes
- ext/Time-HiRes/Changes ext/Win32API-File/Changes
+ ext/Win32API-File/Changes
  lib/ExtUtils/CBuilder/Changes lib/ExtUtils/Changes lib/ExtUtils/NOTES
  lib/ExtUtils/PATCHING lib/ExtUtils/README
  lib/Net/Ping/Changes lib/Test/Harness/Changes
diff --git a/cpan/.gitignore b/cpan/.gitignore
index 0cf6e5c..378f55e 100644
--- a/cpan/.gitignore
+++ b/cpan/.gitignore
@@ -6,7 +6,5 @@ pm_to_blib
 Makefile
 Makefile.PL
 ppport.h
-Time-HiRes/*.inc
-Time-HiRes/xdefine
 Win32API-File/cFile_pc_to_blib
 AutoLoader/t/auto-*
diff --git a/dist/.gitignore b/dist/.gitignore
index 48ab117..d8a22d5 100644
--- a/dist/.gitignore
+++ b/dist/.gitignore
@@ -6,3 +6,5 @@ pm_to_blib
 Makefile
 Makefile.PL
 ppport.h
+Time-HiRes/*.inc
+Time-HiRes/xdefine
diff --git a/util.c b/util.c
index 7cd7d0e..e87246b 100644
--- a/util.c
+++ b/util.c
@@ -4906,7 +4906,7 @@ S_mem_log_common(enum mem_log_type mlt, const UV n,
         (void)time(&when);
 #   endif
 	/* If there are other OS specific ways of hires time than
-	 * gettimeofday() (see ext/Time-HiRes), the easiest way is
+	 * gettimeofday() (see dist/Time-HiRes), the easiest way is
 	 * probably that they would be used to fill in the struct
 	 * timeval. */
 	{
-- 
2.7.0

@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2016

From @jkeenan

Thanks, applied to blead in commit d0b0e70.

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2016

The RT System itself - Status changed from 'new' to 'open'

@p5pRT p5pRT closed this as completed Feb 9, 2016
@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2016

@jkeenan - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant