pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gearmand



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Mar 26 21:49:49 UTC 2020

Modified Files:
        pkgsrc/devel/gearmand: distinfo
Added Files:
        pkgsrc/devel/gearmand/patches: patch-libtest_alarm.cc

Log Message:
Use correct types for initialisation on all platforms.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/gearmand/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/gearmand/patches/patch-libtest_alarm.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gearmand/distinfo
diff -u pkgsrc/devel/gearmand/distinfo:1.4 pkgsrc/devel/gearmand/distinfo:1.5
--- pkgsrc/devel/gearmand/distinfo:1.4  Thu Aug 23 08:21:02 2018
+++ pkgsrc/devel/gearmand/distinfo      Thu Mar 26 21:49:49 2020
@@ -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-server__log.cc) =
 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

Added files:

Index: pkgsrc/devel/gearmand/patches/patch-libtest_alarm.cc
diff -u /dev/null pkgsrc/devel/gearmand/patches/patch-libtest_alarm.cc:1.1
--- /dev/null   Thu Mar 26 21:49:49 2020
+++ pkgsrc/devel/gearmand/patches/patch-libtest_alarm.cc        Thu Mar 26 21:49:49 2020
@@ -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