Skip to content

Commit

Permalink
sys-devel/bison: [QA] Move patches to distfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Dec 11, 2017
1 parent 776786a commit dc968ed
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 761 deletions.
3 changes: 3 additions & 0 deletions sys-devel/bison/Manifest
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
DIST bison-1.875d-patchset.tar.bz2 698 BLAKE2B a68e6009c24437a36c81e7fb97112f8ad721217b65a03531e5375e7310988f81d8c868485bdfc9b4ea99d4285ead91ad8f4670fb358abe92dc206cf6df4c80a1 SHA512 ac650b6f1b2b26057eda0d9ceae6f36604c88a67419b6190e423a08f863c460ded2a58040a71ce79b5e0b85ab3ede1b7a2ebd204c9bd8eb53f6551f39b160beb
DIST bison-1.875d.tar.bz2 882745 BLAKE2B c85ce71986ae095e9dcfa24c1a9c7c484b3663994c1e394b7cc78a0ec1cc95df60369ff9878ef82edb4be144298d8648e336e861de98152bf79f6d66369c6dd4 SHA512 f84c6cf41a289ea7e0805cf9b0da6fe2d77f2e03a35c3db7d2e36e5186bba7c0853c3d518bd89f6cfa1030e346e046aa03b33974bb892dbd8f040e5ea2de1126
DIST bison-2.4.3-patchset.tar.bz2 1102 BLAKE2B 3615841400ba984e563933d31e59a4810e17aed48b8314a3ceb66b47b2ad432e287cf9588b632594311f68d28d2bcce3c6a4f2c4be527c676fcbfd2a4480d04a SHA512 a36cf45b475e55e8baae265e43a151d3324026878d4bb4c119b9fccfc7be3c26ed183632bf210fdb587e2741d298df1e9d4ebb6c3d440f6ae33f40a29949f7a0
DIST bison-2.4.3.tar.bz2 1652612 BLAKE2B 712444aec9898d2dc5dabd5008363f22f6beeb37e119edbdecb119965652e707d827e621c061b13be2206e29da59d661f1466c976c200ce749cf24062dbb5cf1 SHA512 b789f55d9cb95c1b4fba004691ed9f79b76da55020c9b202e1704a02aab1ba43b9fc1015e29843ed552e6df6165cef9c6ebc8a29d15a21c6e194cad8a42ab055
DIST bison-2.7.1.tar.xz 1781068 BLAKE2B bd3161bcf4d2a9f046073280a8d751eb770147f942d48326a9ac869cf31fd8f127759167dced662b826fa54a24cd0cf87b0c096814c84e34afed8078368828a1 SHA512 ac0c7ca57142bcb84af498f606acb86091984a00359294fbf721a4ca8112f9fcf26497f7dd2e65f527e04a6e1de94142ecb76602d407e548475970e5a566d370
DIST bison-3.0.4-patchset.tar.xz 8216 BLAKE2B dd059a7a24faf351fa28bc72b6e183935d4409f91b5dcd8640a14d01b480a3e5b28ddb8f5660f16300a3cf1639d67bd3436d016fa304bb4666c9a43fd7897bd7 SHA512 87b62c5848360fee5b566c664c378ff08bb81d2b6c07b0d385ebd4dfd6b1a687af1da96ed43ca120695877cfc5e30a149ef35424c7a332e9223179dab6665d0b
DIST bison-3.0.4.tar.xz 1973796 BLAKE2B 6320424a5fece04734325226981af287e5745c898df7f0f79c26207599227f40e9ef54f93b2e231e20766ab9a19c0b266545bc5d0bfeabbb958e3e2f6686386c SHA512 bbdc23e7772e49da1c7c47e66d4e4efbfbfe9b21dbc59bf3ad9a6e573eecac6c9f52c7f11a64be9897e8deb99ef7ba015164aa8232aa391b901dd7db03632412
7 changes: 4 additions & 3 deletions sys-devel/bison/bison-1.875d.ebuild
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit toolchain-funcs flag-o-matic eutils

DESCRIPTION="A yacc-compatible parser generator"
HOMEPAGE="https://www.gnu.org/software/bison/bison.html"
SRC_URI="ftp://alpha.gnu.org/pub/gnu/bison/${P}.tar.bz2"
SRC_URI="ftp://alpha.gnu.org/pub/gnu/bison/${P}.tar.bz2
https://dev.gentoo.org/~mgorny/dist/${P}-patchset.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
Expand All @@ -18,7 +19,7 @@ DEPEND="sys-devel/m4
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.32-extfix.patch
epatch "${WORKDIR}"/${P}-patchset/${PN}-1.32-extfix.patch
}

src_compile() {
Expand Down
9 changes: 5 additions & 4 deletions sys-devel/bison/bison-2.4.3.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="2"
Expand All @@ -7,7 +7,8 @@ inherit flag-o-matic eutils

DESCRIPTION="A yacc-compatible parser generator"
HOMEPAGE="https://www.gnu.org/software/bison/bison.html"
SRC_URI="mirror://gnu/bison/${P}.tar.bz2"
SRC_URI="mirror://gnu/bison/${P}.tar.bz2
https://dev.gentoo.org/~mgorny/dist/${P}-patchset.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
Expand All @@ -19,8 +20,8 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"

src_prepare() {
epatch "${FILESDIR}"/${P}-uclibc-sched_param-def.patch
epatch "${FILESDIR}"/${P}-no-gets.patch
epatch "${WORKDIR}"/${P}-patchset/${P}-uclibc-sched_param-def.patch
epatch "${WORKDIR}"/${P}-patchset/${P}-no-gets.patch
}

src_configure() {
Expand Down
9 changes: 5 additions & 4 deletions sys-devel/bison/bison-3.0.4-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
28 changes: 0 additions & 28 deletions sys-devel/bison/files/bison-1.32-extfix.patch

This file was deleted.

22 changes: 0 additions & 22 deletions sys-devel/bison/files/bison-2.4.3-no-gets.patch

This file was deleted.

19 changes: 0 additions & 19 deletions sys-devel/bison/files/bison-2.4.3-uclibc-sched_param-def.patch

This file was deleted.

30 changes: 0 additions & 30 deletions sys-devel/bison/files/bison-3.0.4-darwin17-printf-n.patch

This file was deleted.

151 changes: 0 additions & 151 deletions sys-devel/bison/files/bison-3.0.4-fix-tests-gcc-7.patch

This file was deleted.

Loading

0 comments on commit dc968ed

Please sign in to comment.