Date: Mon, 20 Aug 2018 06:48:55 +0000 (UTC) From: Stefan Esser <se@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r477631 - in head/sysutils/dd_rescue: . files Message-ID: <201808200648.w7K6mtfd060892@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: se Date: Mon Aug 20 06:48:55 2018 New Revision: 477631 URL: https://svnweb.freebsd.org/changeset/ports/477631 Log: Fix build by including sys/random.h. Approved by: nobutaka (maintainer) Added: head/sysutils/dd_rescue/files/patch-random.c (contents, props changed) Modified: head/sysutils/dd_rescue/Makefile Modified: head/sysutils/dd_rescue/Makefile ============================================================================== --- head/sysutils/dd_rescue/Makefile Mon Aug 20 05:31:06 2018 (r477630) +++ head/sysutils/dd_rescue/Makefile Mon Aug 20 06:48:55 2018 (r477631) @@ -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/ Added: head/sysutils/dd_rescue/files/patch-random.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dd_rescue/files/patch-random.c Mon Aug 20 06:48:55 2018 (r477631) @@ -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 <linux/random.h> + #endif ++#ifdef __FreeBSD__ ++#include <sys/random.h> ++#endif + + static void msleep(unsigned int msecs) + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808200648.w7K6mtfd060892>