diff options
author | Ryan Steinmetz <zi@FreeBSD.org> | 2011-08-11 13:00:31 +0000 |
---|---|---|
committer | Ryan Steinmetz <zi@FreeBSD.org> | 2011-08-11 13:00:31 +0000 |
commit | 547a2127333aabb55f6595830164b0164f02503c (patch) | |
tree | cd22b7dbe6c0589257fceb1816068bd4d2a41c8e /net/freeradius2 | |
parent | 84ad0e4d97f575bdf6c42f356edd00d8b9a57a56 (diff) | |
download | ports-547a2127333aabb55f6595830164b0164f02503c.tar.gz ports-547a2127333aabb55f6595830164b0164f02503c.zip |
Notes
Diffstat (limited to 'net/freeradius2')
-rw-r--r-- | net/freeradius2/Makefile | 2 | ||||
-rw-r--r-- | net/freeradius2/files/patch-src__lib__event.c | 24 |
2 files changed, 1 insertions, 25 deletions
diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile index 0a5f1b85ac10..efa268fa4cec 100644 --- a/net/freeradius2/Makefile +++ b/net/freeradius2/Makefile @@ -9,7 +9,7 @@ PORTNAME= freeradius DISTVERSION= 2.1.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \ diff --git a/net/freeradius2/files/patch-src__lib__event.c b/net/freeradius2/files/patch-src__lib__event.c deleted file mode 100644 index aa47183a735c..000000000000 --- a/net/freeradius2/files/patch-src__lib__event.c +++ /dev/null @@ -1,24 +0,0 @@ ---- ./src/lib/event.c.orig 2011-06-20 10:57:14.000000000 -0400 -+++ ./src/lib/event.c 2011-08-10 07:39:10.000000000 -0400 -@@ -155,7 +155,7 @@ - { - fr_event_t *ev; - -- if (!el || !callback | !when || (when->tv_usec > USEC)) return 0; -+ if (!el || !callback | !when || (when->tv_usec >= USEC)) return 0; - - if (ev_p && *ev_p) fr_event_delete(el, ev_p); - -@@ -364,9 +364,11 @@ - if (when.tv_sec > 0) { - when.tv_sec--; - when.tv_usec += USEC; -+ } else { -+ when.tv_sec = 0; - } - when.tv_usec -= el->now.tv_usec; -- if (when.tv_usec > USEC) { -+ if (when.tv_usec >= USEC) { - when.tv_usec -= USEC; - when.tv_sec++; - } |