pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-line_profiler py-line_profiler: remove incorr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46c041004fc7
branches:  trunk
changeset: 771289:46c041004fc7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Dec 16 14:23:55 2021 +0000

description:
py-line_profiler: remove incorrect check

diffstat:

 devel/py-line_profiler/distinfo               |   3 ++-
 devel/py-line_profiler/patches/patch-timers.c |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r a0f031d87fe6 -r 46c041004fc7 devel/py-line_profiler/distinfo
--- a/devel/py-line_profiler/distinfo   Thu Dec 16 14:10:46 2021 +0000
+++ b/devel/py-line_profiler/distinfo   Thu Dec 16 14:23:55 2021 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:18:38 nia Exp $
+$NetBSD: distinfo,v 1.5 2021/12/16 14:23:55 wiz Exp $
 
 BLAKE2s (line_profiler-2.1.2.tar.gz) = 6a3ff591fdc5b9143db5df4efda3765033309aa546cea513032ff647de457195
 SHA512 (line_profiler-2.1.2.tar.gz) = 625a585915d338fe8ef2f37c5b5bc024f769a623380b85725bcf33686e4cc62a211c2e91552e093dee940367b0d2ad306c5cbe7f1e8f1574eb731d128b8e22bd
 Size (line_profiler-2.1.2.tar.gz) = 83131 bytes
+SHA1 (patch-timers.c) = 73722f5c9cbe43d8958339e3bfa16467366bf7f1
diff -r a0f031d87fe6 -r 46c041004fc7 devel/py-line_profiler/patches/patch-timers.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-line_profiler/patches/patch-timers.c     Thu Dec 16 14:23:55 2021 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-timers.c,v 1.1 2021/12/16 14:23:55 wiz Exp $
+
+Remove incorrect check.
+
+--- timers.c.orig      2017-12-19 04:44:21.000000000 +0000
++++ timers.c
+@@ -32,10 +32,6 @@ hpTimerUnit(void)
+ 
+ #else  /* !MS_WINDOWS */
+ 
+-#ifndef HAVE_GETTIMEOFDAY
+-#error "This module requires gettimeofday() on non-Windows platforms!"
+-#endif
+-
+ #if (defined(PYOS_OS2) && defined(PYCC_GCC))
+ #include <sys/time.h>
+ #else



Home | Main Index | Thread Index | Old Index