commit: 98d9bb65e392c880b432f165b55b36ca22f5e5ce Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> AuthorDate: Wed Feb 13 16:28:02 2019 +0000 Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> CommitDate: Wed Feb 13 16:31:35 2019 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=98d9bb65
dev-libs/openssl: Cygwin dlls need 755 permissions https://github.com/openssl/openssl/pull/8226 Package-Manager: Portage-2.3.55.1-prefix, Repoman-2.3.12 Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org> dev-libs/openssl/openssl-1.1.1a-r1.ebuild | 3 +++ dev-libs/openssl/openssl-1.1.1a.ebuild | 2 ++ 2 files changed, 5 insertions(+) diff --git a/dev-libs/openssl/openssl-1.1.1a-r1.ebuild b/dev-libs/openssl/openssl-1.1.1a-r1.ebuild index 3736d72b2c..7e5e38380f 100644 --- a/dev-libs/openssl/openssl-1.1.1a-r1.ebuild +++ b/dev-libs/openssl/openssl-1.1.1a-r1.ebuild @@ -95,6 +95,8 @@ src_prepare() { if [[ $(declare -p PATCHES 2>/dev/null) == "declare -a"* ]] ; then [[ ${#PATCHES[@]} -gt 0 ]] && eapply "${PATCHES[@]}" fi + # for Cygwin, https://github.com/openssl/openssl/pull/8226 + sed -i -e '/chmod 644 .*bin/s/644/755/' Configurations/unix-Makefile.tmpl || die fi eapply_user #332661 @@ -136,6 +138,7 @@ src_prepare() { -e '/^$config{dirs}/s@ "test",@@' \ -i Configure || die fi + # The config script does stupid stuff to prompt the user. Kill it. sed -i '/stty -icanon min 0 time 50; read waste/d' config || die ./config --test-sanity || die "I AM NOT SANE" diff --git a/dev-libs/openssl/openssl-1.1.1a.ebuild b/dev-libs/openssl/openssl-1.1.1a.ebuild index 8c55c63627..74bbb4eb74 100644 --- a/dev-libs/openssl/openssl-1.1.1a.ebuild +++ b/dev-libs/openssl/openssl-1.1.1a.ebuild @@ -84,6 +84,8 @@ src_prepare() { if [[ $(declare -p PATCHES 2>/dev/null) == "declare -a"* ]] ; then [[ ${#PATCHES[@]} -gt 0 ]] && eapply "${PATCHES[@]}" fi + # for Cygwin, https://github.com/openssl/openssl/pull/8226 + sed -i -e '/chmod 644 .*bin/s/644/755/' Configurations/unix-Makefile.tmpl || die fi eapply_user #332661
