summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-12-11 20:41:16 +0100
committerMichał Górny <mgorny@gentoo.org>2017-12-11 20:46:29 +0100
commit402214f19fac15d127352556a0699df444331879 (patch)
tree95928abbd8b6e2352dc1decb18bb1e055915090d /sci-mathematics/pari/pari-2.3.5.ebuild
parentsci-mathematics/pari: Prune old (diff)
downloadgentoo-402214f19fac15d127352556a0699df444331879.tar.gz
gentoo-402214f19fac15d127352556a0699df444331879.tar.bz2
gentoo-402214f19fac15d127352556a0699df444331879.zip
sci-mathematics/pari: [QA] Move patches to distfiles
Closes: https://bugs.gentoo.org/620628
Diffstat (limited to 'sci-mathematics/pari/pari-2.3.5.ebuild')
-rw-r--r--sci-mathematics/pari/pari-2.3.5.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/sci-mathematics/pari/pari-2.3.5.ebuild b/sci-mathematics/pari/pari-2.3.5.ebuild
index a0f484b46778..d996d2354694 100644
--- a/sci-mathematics/pari/pari-2.3.5.ebuild
+++ b/sci-mathematics/pari/pari-2.3.5.ebuild
@@ -9,6 +9,7 @@ HOMEPAGE="http://pari.math.u-bordeaux.fr/"
SRC_COM="http://pari.math.u-bordeaux.fr/pub/${PN}"
SRC_URI="${SRC_COM}/unix/${P}.tar.gz
+ https://dev.gentoo.org/~mgorny/dist/${P}-patchset.tar.bz2
data? ( ${SRC_COM}/packages/elldata.tgz
${SRC_COM}/packages/galdata.tgz
${SRC_COM}/packages/seadata.tgz
@@ -40,10 +41,10 @@ src_prepare() {
if use data; then
mv "${WORKDIR}"/data "${S}" || die "failed to move data"
fi
- epatch "${FILESDIR}/"${PN}-2.3.2-strip.patch
- epatch "${FILESDIR}/"${PN}-2.3.2-ppc-powerpc-arch-fix.patch
- epatch "${FILESDIR}/"${PN}-2.3.5-doc-make.patch
- epatch "${FILESDIR}/"${PN}-2.3.5-no-dot-inc.patch
+ epatch "${WORKDIR}"/${P}-patchset/${PN}-2.3.2-strip.patch
+ epatch "${WORKDIR}"/${P}-patchset/${PN}-2.3.2-ppc-powerpc-arch-fix.patch
+ epatch "${WORKDIR}"/${P}-patchset/${PN}-2.3.5-doc-make.patch
+ epatch "${WORKDIR}"/${P}-patchset/${PN}-2.3.5-no-dot-inc.patch
# disable default building of docs during install
sed -i \