pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gearmand Use correct types for initialisation on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee5a8bf3e27a
branches:  trunk
changeset: 414408:ee5a8bf3e27a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Mar 26 21:49:49 2020 +0000

description:
Use correct types for initialisation on all platforms.

diffstat:

 devel/gearmand/distinfo                       |   3 ++-
 devel/gearmand/patches/patch-libtest_alarm.cc |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r de7434779718 -r ee5a8bf3e27a devel/gearmand/distinfo
--- a/devel/gearmand/distinfo   Thu Mar 26 21:49:22 2020 +0000
+++ b/devel/gearmand/distinfo   Thu Mar 26 21:49:49 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2018/08/23 08:21:02 fhajny Exp $
+$NetBSD: distinfo,v 1.5 2020/03/26 21:49:49 joerg Exp $
 
 SHA1 (gearmand-1.1.18.tar.gz) = eb7f1d806635cba309c40460c3ca5f2ff76d6519
 RMD160 (gearmand-1.1.18.tar.gz) = 2bbe1042932dd763fcc68f4c8e6227d6a53be7e0
@@ -14,4 +14,5 @@
 SHA1 (patch-libgearman_backtrace.cc) = f8b643a91fb7d3656c10616fcd37a9dc0749904e
 SHA1 (patch-libtest__exception.hpp) = 193ee0e3711272f99ee3594f8629e27d572ca116
 SHA1 (patch-libtest__lite.h) = 90ca2fa29aaa2c17e05f64ddba14f1a9a5901f52
+SHA1 (patch-libtest_alarm.cc) = b964f39134d882dc568a21d2d4150ddebdf622a4
 SHA1 (patch-libtest_main.cc) = bbde756232acf00b3f1562e1e4c4de67e5cfdf24
diff -r de7434779718 -r ee5a8bf3e27a devel/gearmand/patches/patch-libtest_alarm.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gearmand/patches/patch-libtest_alarm.cc     Thu Mar 26 21:49:49 2020 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-libtest_alarm.cc,v 1.1 2020/03/26 21:49:49 joerg Exp $
+
+--- libtest/alarm.cc.orig      2020-03-26 14:51:14.108759483 +0000
++++ libtest/alarm.cc
+@@ -90,12 +90,7 @@ void set_alarm(long tv_sec, long tv_usec
+       }
+     }
+ 
+-#ifdef __APPLE__
+     struct timeval it_value= { time_t(tv_sec), suseconds_t(tv_usec) };
+-#else
+-    struct timeval it_value= { tv_sec, tv_usec };
+-#endif
+-
+     struct itimerval timer= { default_it_interval, it_value };
+ 
+     if (setitimer(ITIMER_VIRTUAL, &timer, NULL) == -1)



Home | Main Index | Thread Index | Old Index