aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2011-05-09 15:10:10 +0800
committerculot <culot@FreeBSD.org>2011-05-09 15:10:10 +0800
commitca5c6bc22115126944d9497adf26daa189cdc525 (patch)
treeb8470244881c83ad30af05199e5045569f142a33
parent921efaa7ed451a70cd6e4e09afa9a1d5c79cbca2 (diff)
downloadfreebsd-ports-gnome-ca5c6bc22115126944d9497adf26daa189cdc525.tar.gz
freebsd-ports-gnome-ca5c6bc22115126944d9497adf26daa189cdc525.tar.zst
freebsd-ports-gnome-ca5c6bc22115126944d9497adf26daa189cdc525.zip
- Revert previous commit, submitted patch was erroneous
Submitted by: Rob Farmer <rfarmer@predatorlabs.net> (maintainer, by email)
-rw-r--r--sysutils/uptimed/Makefile2
-rw-r--r--sysutils/uptimed/files/patch-src__uprecords.c12
2 files changed, 1 insertions, 13 deletions
diff --git a/sysutils/uptimed/Makefile b/sysutils/uptimed/Makefile
index c864315cd8aa..6c6d104bbfa6 100644
--- a/sysutils/uptimed/Makefile
+++ b/sysutils/uptimed/Makefile
@@ -6,7 +6,7 @@
PORTNAME= uptimed
PORTVERSION= 0.3.16
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://podgorny.cz/uptimed/releases/ \
http://www.predatorlabs.net/dl/
diff --git a/sysutils/uptimed/files/patch-src__uprecords.c b/sysutils/uptimed/files/patch-src__uprecords.c
deleted file mode 100644
index d3bb2b12ef61..000000000000
--- a/sysutils/uptimed/files/patch-src__uprecords.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./src/uprecords.c.orig 2009-01-01 15:46:00.000000000 -0800
-+++ ./src/uprecords.c 2011-05-04 23:56:53.000000000 -0700
-@@ -236,6 +236,9 @@
- totalutime += u->utime;
- }
-
-+ /* Prevents the downtime from showing as -x days, and the uptime as >100% */
-+ totaldtime = -totaldtime;
-+
- print_entry(totalutime, "since", since, "up", 0, 0);
- print_entry(totaldtime, "since", since, "down", 0, 0);
-