pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/uptimec Add DragonFly support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6e041850dd09
branches: trunk
changeset: 505425:6e041850dd09
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jan 03 16:55:43 2006 +0000
description:
Add DragonFly support.
diffstat:
misc/uptimec/distinfo | 3 ++-
misc/uptimec/patches/patch-aa | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r 702994045dd0 -r 6e041850dd09 misc/uptimec/distinfo
--- a/misc/uptimec/distinfo Tue Jan 03 16:47:35 2006 +0000
+++ b/misc/uptimec/distinfo Tue Jan 03 16:55:43 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 11:02:58 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/01/03 16:55:43 joerg Exp $
SHA1 (uptimec-0.2p3.tar.gz) = b14a7ba166d558b75ea3d5700dc73ba18b199e14
RMD160 (uptimec-0.2p3.tar.gz) = 79e20f60064fc49dfab8310ac0ead699af4ad188
Size (uptimec-0.2p3.tar.gz) = 82082 bytes
+SHA1 (patch-aa) = f8190edd5486d8088310e129d679de7751fd272d
diff -r 702994045dd0 -r 6e041850dd09 misc/uptimec/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/uptimec/patches/patch-aa Tue Jan 03 16:55:43 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2006/01/03 16:55:43 joerg Exp $
+
+--- uptimec.c.orig 2006-01-03 16:51:33.000000000 +0000
++++ uptimec.c
+@@ -60,7 +60,7 @@
+ /* NetBSD, FreeBSD, OpenBSD and MacOS X */
+ #ifndef GETUPTIME_METHOD_FOUND
+ # if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || \
+- defined(__APPLE__) || defined(__DARWIN__)
++ defined(__APPLE__) || defined(__DARWIN__) || defined(__DragonFly__)
+ # define GETUPTIME_BSDLIKE
+ # define GETUPTIME_METHOD_FOUND
+ # endif
+@@ -529,7 +529,7 @@ int main(int argc, char** argv)
+ /* We do not want password etc given on commandline to be visible when
+ listing processes with the ps-command */
+ # if defined(HAVE_SETPROCTITLE)
+-# if defined(__FreeBSD__)
++# if defined(__FreeBSD__) || defined(__DragonFly__)
+ setproctitle("-uptimec");
+ # else
+ setproctitle(NULL);
Home |
Main Index |
Thread Index |
Old Index