dev-libs/openssl-compat: restore Gentoo patch set
authorThomas Deutschmann <whissi@gentoo.org>
Mon, 16 Sep 2019 00:03:38 +0000 (02:03 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Mon, 16 Sep 2019 00:06:18 +0000 (02:06 +0200)
Patch set for 1.0.2x series were longer applied when ebuilds were
bumped to EAPI=7 and unified.

Fixes a039f65 ("dev-libs/openssl: bump to EAPI 7")
Closes: https://bugs.gentoo.org/694512
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-libs/openssl-compat/openssl-compat-1.0.2s-r1.ebuild [moved from dev-libs/openssl-compat/openssl-compat-1.0.2s.ebuild with 98% similarity]
dev-libs/openssl-compat/openssl-compat-1.0.2t-r1.ebuild [moved from dev-libs/openssl-compat/openssl-compat-1.0.2t.ebuild with 98% similarity]

similarity index 98%
rename from dev-libs/openssl-compat/openssl-compat-1.0.2s.ebuild
rename to dev-libs/openssl-compat/openssl-compat-1.0.2s-r1.ebuild
index 7449ff20b7e666056bb1e0b396bf67d72041d492..f956fa3826a9ef5bc50a86d9a8c64ac11f76e0dd 100644 (file)
@@ -100,9 +100,7 @@ src_prepare() {
        rm -f Makefile
 
        if ! use vanilla ; then
-               if [[ $(declare -p PATCHES 2>/dev/null) == "declare -a"* ]] ; then
-                       [[ ${#PATCHES[@]} -gt 0 ]] && eapply "${PATCHES[@]}"
-               fi
+               eapply "${WORKDIR}"/patch/*.patch
        fi
 
        eapply_user
similarity index 98%
rename from dev-libs/openssl-compat/openssl-compat-1.0.2t.ebuild
rename to dev-libs/openssl-compat/openssl-compat-1.0.2t-r1.ebuild
index 717d2d311a8eee10b115fc7d938d4e0baf1fef77..670f557544d2ee496f55cb25f710e341e975726e 100644 (file)
@@ -89,9 +89,7 @@ src_prepare() {
        rm -f Makefile
 
        if ! use vanilla ; then
-               if [[ $(declare -p PATCHES 2>/dev/null) == "declare -a"* ]] ; then
-                       [[ ${#PATCHES[@]} -gt 0 ]] && eapply "${PATCHES[@]}"
-               fi
+               eapply "${WORKDIR}"/patch/*.patch
        fi
 
        eapply_user