--- /usr/portage/sys-apps/duc/duc-1.4.1-r1.ebuild 2017-02-28 20:50:50.000000000 +0100 +++ /var/db/repos/localrepo/sys-apps/duc/duc-1.4.1-r1.ebuild 2020-06-23 21:59:49.435284739 +0000 @@ -3,7 +3,7 @@ EAPI=5 -inherit autotools +inherit autotools epatch if [[ "${PV}" == "9999" ]]; then inherit git-r3 @@ -42,6 +42,9 @@ tokyocabinet? ( dev-db/tokyocabinet ) " RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-1.4.1-tinfo.patch +) src_unpack() { if [[ "${PV}" == "9999" ]]; then @@ -55,7 +58,7 @@ sed -i -e "/ldconfig/d" -e "/install-exec-hook/d" Makefile.am || die default - + epatch -p1 "${PATCHES[@]}" eautoreconf }