commit:     97200c5ec7c405b10008220914f4293802019ce7
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  7 12:35:28 2019 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Fri Jun  7 12:36:52 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=97200c5e

sys-devel/gcc: kill a leftover cygwin patch

It turns out that cygport does not fail on already applied patches,
so it was gone unnoticed that the patch is obsolete.

Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>

 sys-devel/gcc/gcc-8.3.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-devel/gcc/gcc-8.3.0.ebuild b/sys-devel/gcc/gcc-8.3.0.ebuild
index 259fa644cd..9fd18b937f 100644
--- a/sys-devel/gcc/gcc-8.3.0.ebuild
+++ b/sys-devel/gcc/gcc-8.3.0.ebuild
@@ -22,6 +22,10 @@ if [[ ${CATEGORY} != cross-* ]] ; then
 fi
 
 src_prepare() {
+       if use elibc_Cygwin; then
+               sed -e 
'/0001-share-mingw-fset-stack-executable-with-cygwin.patch/d' \
+                       -i "${WORKDIR}/gcc-${CYGWINPORTS_GITREV}/gcc.cygport" 
|| die
+       fi
        toolchain_src_prepare
 
        use vanilla && return 0

Reply via email to