freebsd-ports/sysutils/cronolog/files/patch-src_cronoutils.c
Olli Hauer e28a239c8e - original MASTER_SITE is gone.
Author pushed the source to github, use it as new site [1]
- add extra-patch to PATCHDIR
- use new post-patch target
- unbreak the port
- bump PORTREVISION

[1] verified there is no difference between old 1.6.2 and github 8ea64c0
2015-11-29 15:41:07 +00:00

11 lines
309 B
C

--- src/cronoutils.c.orig 2013-12-04 14:46:09 UTC
+++ src/cronoutils.c
@@ -199,7 +199,7 @@ create_link(char *pfilename,
{
unlink(prevlinkname);
}
- if (stat(linkname, &stat_buf) == 0)
+ if (lstat(linkname, &stat_buf) == 0)
{
if (prevlinkname) {
rename(linkname, prevlinkname);