aboutsummaryrefslogtreecommitdiff
path: root/mail/popular
diff options
context:
space:
mode:
Diffstat (limited to 'mail/popular')
-rw-r--r--mail/popular/Makefile2
-rw-r--r--mail/popular/files/patch-src-util.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/popular/Makefile b/mail/popular/Makefile
index a0f4c6121a7f..4b0d8b185962 100644
--- a/mail/popular/Makefile
+++ b/mail/popular/Makefile
@@ -7,7 +7,7 @@
PORTNAME= popular
PORTVERSION= 1.5.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.remote.org/jochen/mail/popular/download/
diff --git a/mail/popular/files/patch-src-util.c b/mail/popular/files/patch-src-util.c
new file mode 100644
index 000000000000..c1a9e983bd9b
--- /dev/null
+++ b/mail/popular/files/patch-src-util.c
@@ -0,0 +1,11 @@
+--- src/util.c.orig Mon Apr 30 17:14:14 2001
++++ src/util.c Wed Jun 7 13:19:59 2006
+@@ -125,7 +125,7 @@
+ while (1) {
+ if (*tptr == '-') return -1;
+ value = strtol(tptr, &tptr, 10);
+- if (errno) return -1;
++ if (errno && errno != EINVAL) return -1;
+ switch (*tptr) {
+ case 'd':
+ sec += value*60*60*24;