Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-src_zmc_cpp,v 1.2 2013/03/24 16:47:47 joerg Exp $
Use a more appropriate initialisation for a long, and use the definition out
of <limits.h>, for portability.
--- src/zmc.cpp.orig 2011-06-21 09:19:11.000000000 +0000
+++ src/zmc.cpp
@@ -19,7 +19,7 @@
#include <getopt.h>
#include <signal.h>
-#include <values.h>
+#include <limits.h>
#include "zm.h"
#include "zm_db.h"
@@ -224,7 +224,7 @@ int main( int argc, char *argv[] )
sigprocmask( SIG_BLOCK, &block_set, 0 );
for ( int i = 0; i < n_monitors; i++ )
{
- long min_delay = MAXINT;
+ long min_delay = LONG_MAX;
gettimeofday( &now, NULL );
for ( int j = 0; j < n_monitors; j++ )