summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/mpfr/mpfr-3.1.3_p4.ebuild')
-rw-r--r--dev-libs/mpfr/mpfr-3.1.3_p4.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-libs/mpfr/mpfr-3.1.3_p4.ebuild b/dev-libs/mpfr/mpfr-3.1.3_p4.ebuild
index dd9e659c9607..6ebbbdfc51c7 100644
--- a/dev-libs/mpfr/mpfr-3.1.3_p4.ebuild
+++ b/dev-libs/mpfr/mpfr-3.1.3_p4.ebuild
@@ -11,7 +11,8 @@ MY_P=${PN}-${MY_PV}
PLEVEL=${PV/*p}
DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
HOMEPAGE="http://www.mpfr.org/"
-SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mgorny/dist/${MY_P}-patchset.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
@@ -27,7 +28,7 @@ src_prepare() {
if [[ ${PLEVEL} != ${PV} ]] ; then
local i
for (( i = 1; i <= PLEVEL; ++i )) ; do
- epatch "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i})
+ epatch "${WORKDIR}"/${MY_P}-patchset/patch$(printf '%02d' ${i})
done
fi
find . -type f -exec touch -r configure {} +