--- rng-tools-5.ebuild.orig 2015-07-20 18:44:20.331455397 -0400 +++ rng-tools-5.ebuild 2015-07-21 11:32:06.185859039 -0400 @@ -21,6 +21,15 @@ selinux? ( sec-policy/selinux-rngd )" src_prepare() { + local manpage_wm_default="" + + # The default watermark fill size is reported incorrectly in the manpage. + # See bug #555094. + manpage_wm_default+=". By default, this value is set to 75% of " + manpage_wm_default+="the entropy pool size or 2048 bits if the " + manpage_wm_default+="entropy pool size couldn't be determined." + sed -i -e "s/ (default: 2048)./${manpage_wm_default}/" rngd.8.in || die + echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am epatch "${FILESDIR}"/test-for-argp.patch\ "${FILESDIR}"/${P}-fix-textrels-on-PIC-x86.patch