summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5aa99b6e4e12..4860a3fe2f5c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mingw-w64-mpfr
pkgdesc = Multiple-precision floating-point library (mingw-w64)
- pkgver = 4.1.1
+ pkgver = 4.1.1.p1
pkgrel = 1
url = http://www.mpfr.org
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 42d2b1c673c9..a50ec4658c37 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mingw-w64-mpfr
_pkgver=4.1.1
-pkgver=$_pkgver
+pkgver=$_pkgver.p1
pkgrel=1
pkgdesc="Multiple-precision floating-point library (mingw-w64)"
arch=(any)
@@ -17,6 +17,11 @@ validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D'
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+prepare() {
+ cd "$srcdir"/mpfr-${_pkgver}
+ curl -L https://www.mpfr.org/mpfr-4.1.1/allpatches | patch -p1
+}
+
build() {
cd "$srcdir"/mpfr-${_pkgver}
for _arch in ${_architectures}; do