public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/zsh/, app-shells/zsh/files/
Date: Fri,  2 Oct 2015 13:28:52 +0000 (UTC)	[thread overview]
Message-ID: <1443792504.8e4cb2a89d44c72079ff01aff862806f4969ce1b.vapier@gentoo> (raw)

commit:     8e4cb2a89d44c72079ff01aff862806f4969ce1b
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  2 13:28:24 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Oct  2 13:28:24 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e4cb2a8

app-shells/zsh: fix build w/gcc-5 #547950

 app-shells/zsh/files/zsh-5.1.0-gcc-5.patch | 16 ++++++++++++++++
 app-shells/zsh/zsh-5.1.1.ebuild            |  1 +
 2 files changed, 17 insertions(+)

diff --git a/app-shells/zsh/files/zsh-5.1.0-gcc-5.patch b/app-shells/zsh/files/zsh-5.1.0-gcc-5.patch
new file mode 100644
index 0000000..74756d2
--- /dev/null
+++ b/app-shells/zsh/files/zsh-5.1.0-gcc-5.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/547950
+http://www.zsh.org/mla/workers/2015/msg02660.html
+
+fix building w/gcc-5
+
+--- a/Src/Modules/system.mdd
++++ b/Src/Modules/system.mdd
+@@ -15,7 +15,7 @@
+ 		touch errtmp.out; \
+ 	   else \
+ 		$(AWK) -f $(sdir)/errnames1.awk @ERRNO_H@ >errtmp.c; \
+-		$(CPP) errtmp.c >errtmp.out; \
++		$(CPP) -P errtmp.c >errtmp.out; \
+ 	   fi
+ 	   $(AWK) -f $(sdir)/errnames2.awk errtmp.out > $@
+ 	   rm -f errtmp.c errtmp.out

diff --git a/app-shells/zsh/zsh-5.1.1.ebuild b/app-shells/zsh/zsh-5.1.1.ebuild
index 695369a..295b2ca 100644
--- a/app-shells/zsh/zsh-5.1.1.ebuild
+++ b/app-shells/zsh/zsh-5.1.1.ebuild
@@ -53,6 +53,7 @@ src_prepare() {
 	soelim Doc/zshall.1.soelim > Doc/zshall.1
 
 	epatch "${FILESDIR}"/${PN}-init.d-gentoo-r1.diff
+	epatch "${FILESDIR}"/${PN}-5.1.0-gcc-5.patch #547950
 
 	cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die
 	eprefixify "${T}"/zprofile || die


             reply	other threads:[~2015-10-02 13:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-02 13:28 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-12-11 22:00 [gentoo-commits] repo/gentoo:master commit in: app-shells/zsh/, app-shells/zsh/files/ Tim Harder
2017-08-09 18:59 Tim Harder
2017-09-04  6:27 Benda XU
2018-07-02  7:48 Lars Wendler
2024-02-08 17:34 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1443792504.8e4cb2a89d44c72079ff01aff862806f4969ce1b.vapier@gentoo \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox