https://bugs.gentoo.org/show_bug.cgi?id=605158
By Mihai Moldovan.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
--- /dev/null
+diff -pur libid3tag-0.15.1b-orig/compat.h libid3tag-0.15.1b/compat.h
+--- libid3tag-0.15.1b-orig/compat.h 2004-01-23 10:41:32.000000000 +0100
++++ libid3tag-0.15.1b/compat.h 2017-03-15 01:49:23.808834401 +0100
+@@ -34,7 +34,7 @@ struct id3_compat {
+ };
+
+ struct id3_compat const *id3_compat_lookup(register char const *,
+- register unsigned int);
++ register size_t);
+
+ int id3_compat_fixup(struct id3_tag *);
+
src_prepare() {
epunt_cxx #74489
epatch "${FILESDIR}/${PV}"/*.patch
+ # gperf 3.1 and newer generate code with a size_t length parameter,
+ # older versions are incompatible and take an unsigned int.
+ has_version '>=dev-util/gperf-3.1' && epatch "${FILESDIR}/${P}-fix-signature.patch"
+
elibtoolize #sane .so versionning on fbsd and .so -> .so.version symlink
}