summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-12-11 20:51:42 +0100
committerMichał Górny <mgorny@gentoo.org>2017-12-11 20:56:48 +0100
commitdc968ed2ef3744cb13305e6003c625ce2108d118 (patch)
treeb1a43e14c3f59a872ed2d21c0cca847d418ec87e /sys-devel/bison/bison-3.0.4-r1.ebuild
parentsci-visualization/spyview: [QA] Move patches to a distfile (diff)
downloadgentoo-dc968ed2ef3744cb13305e6003c625ce2108d118.tar.gz
gentoo-dc968ed2ef3744cb13305e6003c625ce2108d118.tar.bz2
gentoo-dc968ed2ef3744cb13305e6003c625ce2108d118.zip
sys-devel/bison: [QA] Move patches to distfiles
Closes: https://bugs.gentoo.org/620638
Diffstat (limited to 'sys-devel/bison/bison-3.0.4-r1.ebuild')
-rw-r--r--sys-devel/bison/bison-3.0.4-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys-devel/bison/bison-3.0.4-r1.ebuild b/sys-devel/bison/bison-3.0.4-r1.ebuild
index 3672e2275c1f..46bac9ecda73 100644
--- a/sys-devel/bison/bison-3.0.4-r1.ebuild
+++ b/sys-devel/bison/bison-3.0.4-r1.ebuild
@@ -7,7 +7,8 @@ inherit flag-o-matic eutils
DESCRIPTION="A general-purpose (yacc-compatible) parser generator"
HOMEPAGE="https://www.gnu.org/software/bison/"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
+ https://dev.gentoo.org/~mgorny/dist/${P}-patchset.tar.xz"
LICENSE="GPL-2"
SLOT="0"
@@ -24,9 +25,9 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS ChangeLog-2012 NEWS README THANKS TODO ) # ChangeLog-1998 PACKAGING README-alpha README-release
src_prepare() {
- epatch "${FILESDIR}"/${P}-optional-perl.patch #538300
- epatch "${FILESDIR}"/${P}-darwin17-printf-n.patch #632500
- epatch "${FILESDIR}"/${P}-fix-tests-gcc-7.patch #638308
+ epatch "${WORKDIR}"/${P}-patchset/${P}-optional-perl.patch #538300
+ epatch "${WORKDIR}"/${P}-patchset/${P}-darwin17-printf-n.patch #632500
+ epatch "${WORKDIR}"/${P}-patchset/${P}-fix-tests-gcc-7.patch #638308
# The makefiles make the man page depend on the configure script
# which we patched above. Touch it to prevent regeneration.
touch doc/bison.1 #548778 #538300#9