pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/fam fam: rlim_t fixes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/699b94f7ebda
branches:  trunk
changeset: 313488:699b94f7ebda
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Oct 01 10:57:36 2018 +0000

description:
fam: rlim_t fixes.

diffstat:

 sysutils/fam/distinfo         |   4 ++--
 sysutils/fam/patches/patch-ak |  15 +++++++++++++--
 2 files changed, 15 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r d573fd77790a -r 699b94f7ebda sysutils/fam/distinfo
--- a/sysutils/fam/distinfo     Mon Oct 01 10:05:23 2018 +0000
+++ b/sysutils/fam/distinfo     Mon Oct 01 10:57:36 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.33 2015/11/04 01:32:13 agc Exp $
+$NetBSD: distinfo,v 1.34 2018/10/01 10:57:36 jperkin Exp $
 
 SHA1 (fam-2.7.0.tar.gz) = 6c2316f02acf89a41c42ffc3d7fd9cf5eada83a8
 RMD160 (fam-2.7.0.tar.gz) = 1895b578d6a141c36d5bee4e3fbbc2a298a91430
@@ -14,7 +14,7 @@
 SHA1 (patch-ah) = b8a779216cc9a780a0616eeebed8555d8db96f9a
 SHA1 (patch-ai) = b80aafbb3849fc8c828b6829d8975b910e4d0fd5
 SHA1 (patch-aj) = 39391961fd7929d6a5fb49ecb492585cb821afaa
-SHA1 (patch-ak) = 48ddfcf9b7562832402a464437ca485249d371a1
+SHA1 (patch-ak) = 6b36f7aefd8f4d629ba4f33927e13980bcb9c9d1
 SHA1 (patch-al) = e0b4c3ca447f42573def07e8b47209ec6e6ad016
 SHA1 (patch-am) = 4fa488940675c5283806819288f7674f4634e038
 SHA1 (patch-an) = 7aa54fb1f90e3b2eb767d41fd842f7f4a0561b81
diff -r d573fd77790a -r 699b94f7ebda sysutils/fam/patches/patch-ak
--- a/sysutils/fam/patches/patch-ak     Mon Oct 01 10:05:23 2018 +0000
+++ b/sysutils/fam/patches/patch-ak     Mon Oct 01 10:57:36 2018 +0000
@@ -1,6 +1,8 @@
-$NetBSD: patch-ak,v 1.5 2004/04/14 20:53:08 adam Exp $
+$NetBSD: patch-ak,v 1.6 2018/10/01 10:57:36 jperkin Exp $
 
---- src/Log.c++.orig   Wed Apr 14 22:44:49 2004
+rlim_t fixes.
+
+--- src/Log.c++.orig   2003-01-18 14:18:12.000000000 +0000
 +++ src/Log.c++
 @@ -28,9 +28,9 @@
  #include <stdlib.h>
@@ -13,3 +15,12 @@
  #include <sys/types.h>
  #include <unistd.h>
  #ifdef HAVE_AUDIT
+@@ -277,7 +277,7 @@ void __assert(const char *msg, const cha
+       Log::perror("mkdir");
+     if (chdir(dirname) < 0)
+       Log::perror("chdir");
+-    struct rlimit rl = { RLIM_INFINITY, RLIM_INFINITY };
++    struct rlimit rl = { (rlim_t)RLIM_INFINITY, (rlim_t)RLIM_INFINITY };
+     if (setrlimit(RLIMIT_CORE, &rl) < 0)
+       Log::perror("setrlimit(RLIMIT_CORE)");
+     delete[] dirname;



Home | Main Index | Thread Index | Old Index