-diff -uNr libcap-2.25.ORIG/libcap/Makefile libcap-2.25/libcap/Makefile
---- libcap-2.25.ORIG/libcap/Makefile 2017-02-01 09:58:34.966642226 +0000
-+++ libcap-2.25/libcap/Makefile 2017-02-01 10:01:49.943651936 +0000
+update gperf call to work with gperf-3.1
+
+https://bugs.gentoo.org/604802
+
+--- a/libcap/Makefile
++++ b/libcap/Makefile
@@ -44,11 +44,12 @@
./_makenames > cap_names.h
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
IUSE="pam static-libs"
+# While the build system optionally uses gperf, we don't DEPEND on it because
+# the build automatically falls back when it's unavailable. #604802
RDEPEND=">=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}]
pam? ( virtual/pam )"
DEPEND="${RDEPEND}