drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libmpfr.a
-rwxr-xr-x root/root usr/lib/libmpfr.la
-lrwxrwxrwx root/root usr/lib/libmpfr.so -> libmpfr.so.4.0.1
-lrwxrwxrwx root/root usr/lib/libmpfr.so.4 -> libmpfr.so.4.0.1
--rwxr-xr-x root/root usr/lib/libmpfr.so.4.0.1
+lrwxrwxrwx root/root usr/lib/libmpfr.so -> libmpfr.so.4.1.1
+lrwxrwxrwx root/root usr/lib/libmpfr.so.4 -> libmpfr.so.4.1.1
+-rwxr-xr-x root/root usr/lib/libmpfr.so.4.1.1
-645882d9d179113a70af84d27086ed9f mpfr-3.0.1.tar.xz
+7ebae78de35cd5f3bf45d17285ea3d81 libmpfr-3.1.1-p2.patch.gz
+91d51c41fcf2799e4ee7a7126fc95c17 mpfr-3.1.1.tar.xz
# Depends on: libgmp
name=libmpfr
-version=3.0.1
+version=3.1.1-p2
release=1
-source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz)
+source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz
+ $name-$version.patch.gz)
build() {
cd mpfr-${version%-*}
+ gunzip -c $SRC/$name-$version.patch.gz | patch -p1
./configure --build=$CHOST \
--host=$CTARGET \