diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-03 16:55:43 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-03 16:55:43 +0000 |
commit | ab9c2dfbc8fb2150e7b8c9accaab92b459ec1699 (patch) | |
tree | 49d45f719211fd5bd7eb99f2c7827d5f305199b7 /misc/uptimec | |
parent | e774bed0425cf7beb10848fb995bf7db14a27ffe (diff) | |
download | pkgsrc-ab9c2dfbc8fb2150e7b8c9accaab92b459ec1699.tar.gz |
Add DragonFly support.
Diffstat (limited to 'misc/uptimec')
-rw-r--r-- | misc/uptimec/distinfo | 3 | ||||
-rw-r--r-- | misc/uptimec/patches/patch-aa | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/misc/uptimec/distinfo b/misc/uptimec/distinfo index 6fabafab0b8..bb3e65b6fea 100644 --- a/misc/uptimec/distinfo +++ b/misc/uptimec/distinfo @@ -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 --git a/misc/uptimec/patches/patch-aa b/misc/uptimec/patches/patch-aa new file mode 100644 index 00000000000..6c0a701cf69 --- /dev/null +++ b/misc/uptimec/patches/patch-aa @@ -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); |