diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2020-08-19 13:17:38 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2020-08-19 13:17:38 +0000 |
commit | 5fe304a3288014c14cd530800ecbfe7024a20879 (patch) | |
tree | d4dfed6bfe9e0aa95355a19d0abfa31acf5d6112 /mail/popular/files/patch-src_util.c | |
parent | graphics/freeglut: fix for -fno-common (diff) |
mail/popular: Prepare for textproc/p5-XML-Parser update
Also:
- Bump PORTREVISION
- Skip build of man pages, which are already present in the distribution
- Add LICENSE
- Add USE_LDCONFIG
- Regenerate patches to follow the standard
- Pass maintainership to the submitter
PR: 248725
Submitted by: Sergei Vyshenski <svysh.fbsd@gmail.com>
Notes
Notes:
svn path=/head/; revision=545323
Diffstat (limited to 'mail/popular/files/patch-src_util.c')
-rw-r--r-- | mail/popular/files/patch-src_util.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/popular/files/patch-src_util.c b/mail/popular/files/patch-src_util.c new file mode 100644 index 000000000000..9c5396740791 --- /dev/null +++ b/mail/popular/files/patch-src_util.c @@ -0,0 +1,11 @@ +--- src/util.c.orig 2001-04-30 15:14:14 UTC ++++ src/util.c +@@ -125,7 +125,7 @@ timedesc2sec(char *desc, int min, int max) + 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; |