diff --git a/sysutils/dd_rescue/Makefile b/sysutils/dd_rescue/Makefile index 45a8173852f2..7909f5facfaa 100644 --- a/sysutils/dd_rescue/Makefile +++ b/sysutils/dd_rescue/Makefile @@ -3,6 +3,7 @@ PORTNAME= dd_rescue PORTVERSION= 1.99.8 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.garloff.de/kurt/linux/ddrescue/ \ http://fossies.org/unix/privat/ diff --git a/sysutils/dd_rescue/files/patch-random.c b/sysutils/dd_rescue/files/patch-random.c new file mode 100644 index 000000000000..e2a830f9b41c --- /dev/null +++ b/sysutils/dd_rescue/files/patch-random.c @@ -0,0 +1,12 @@ +--- random.c.orig 2015-09-10 15:51:08 UTC ++++ random.c +@@ -22,6 +22,9 @@ typedef unsigned int __u32; + #ifdef HAVE_LINUX_RANDOM_H + #include + #endif ++#ifdef __FreeBSD__ ++#include ++#endif + + static void msleep(unsigned int msecs) + {