diff -ruN /usr/ports/databases/rrdtool/Makefile ./Makefile --- /usr/ports/databases/rrdtool/Makefile 2014-08-09 19:05:10.000000000 -0400 +++ ./Makefile 2014-08-12 20:21:18.000000000 -0400 @@ -3,7 +3,7 @@ PORTNAME= rrdtool PORTVERSION= 1.4.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases graphics MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/ diff -ruN /usr/ports/databases/rrdtool/files/patch-src__rrdupdate.c ./files/patch-src__rrdupdate.c --- /usr/ports/databases/rrdtool/files/patch-src__rrdupdate.c 1969-12-31 19:00:00.000000000 -0500 +++ ./files/patch-src__rrdupdate.c 2014-08-12 20:20:35.000000000 -0400 @@ -0,0 +1,16 @@ +--- src/rrdupdate.c.orig 2014-08-12 20:19:23.000000000 -0400 ++++ src/rrdupdate.c 2014-08-12 20:19:50.000000000 -0400 +@@ -15,7 +15,12 @@ + #endif + + #include "rrd.h" +-#include "plbasename.h" ++ ++#ifdef HAVE_LIBGEN_H ++# include ++#else ++# include "plbasename.h" ++#endif + + int main( + int argc,