diff --git a/app-arch/innoextract/innoextract-1.4.ebuild b/app-arch/innoextract/innoextract-1.4.ebuild index 1fb858ef931cd..2d889b2c743d6 100644 --- a/app-arch/innoextract/innoextract-1.4.ebuild +++ b/app-arch/innoextract/innoextract-1.4.ebuild @@ -34,6 +34,11 @@ DEPEND="${RDEPEND} DOCS=( README.md CHANGELOG ) +PATCHES=( + "${FILESDIR}"/${P}-cmake.patch + "${FILESDIR}"/${P}-cmake-3.5.patch +) + pkg_pretend() { if [[ ${MERGE_TYPE} != binary ]]; then # not sure about minimum clang req @@ -47,8 +52,7 @@ pkg_pretend() { } src_prepare() { - epatch "${FILESDIR}"/${P}-cmake.patch - epatch "${FILESDIR}"/${P}-cmake-3.5.patch + epatch "${PATCHES[@]}" cmake-utils_src_prepare } diff --git a/app-arch/innoextract/innoextract-1.5.ebuild b/app-arch/innoextract/innoextract-1.5.ebuild index eedb4ed6dcbbc..50d0ce5b8f88e 100644 --- a/app-arch/innoextract/innoextract-1.5.ebuild +++ b/app-arch/innoextract/innoextract-1.5.ebuild @@ -23,8 +23,12 @@ DEPEND="${RDEPEND}" DOCS=( README.md CHANGELOG ) +PATCHES=( + "${FILESDIR}"/${PN}-1.4-cmake-3.5.patch +) + src_prepare() { - epatch "${FILESDIR}"/${PN}-1.4-cmake-3.5.patch + epatch "${PATCHES[@]}" cmake-utils_src_prepare }