From 4aadf0098c6063dba79c468f935199b0915f5dc5 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 17 May 2016 07:27:18 +0000 Subject: [PATCH] libgmp: updated to 6.1.0 and adapted for 64b --- libgmp/.footprint | 14 +++++++------- libgmp/.md5sum | 4 ++-- libgmp/Pkgfile | 8 ++++---- libgmp/gmp.h | 1 + 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/libgmp/.footprint b/libgmp/.footprint index 4182d08..3ef1b2c 100644 --- a/libgmp/.footprint +++ b/libgmp/.footprint @@ -1,16 +1,16 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/include/ --rw-r--r-- root/root usr/include/gmp-32.h +-rw-r--r-- root/root usr/include/gmp-64.h -rw-r--r-- root/root usr/include/gmp.h -rw-r--r-- root/root usr/include/gmpxx.h drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libgmp.a -rwxr-xr-x root/root usr/lib/libgmp.la -lrwxrwxrwx root/root usr/lib/libgmp.so -> libgmp.so.10.2.0 -lrwxrwxrwx root/root usr/lib/libgmp.so.10 -> libgmp.so.10.2.0 --rwxr-xr-x root/root usr/lib/libgmp.so.10.2.0 +lrwxrwxrwx root/root usr/lib/libgmp.so -> libgmp.so.10.3.0 +lrwxrwxrwx root/root usr/lib/libgmp.so.10 -> libgmp.so.10.3.0 +-rwxr-xr-x root/root usr/lib/libgmp.so.10.3.0 -rw-r--r-- root/root usr/lib/libgmpxx.a -rwxr-xr-x root/root usr/lib/libgmpxx.la -lrwxrwxrwx root/root usr/lib/libgmpxx.so -> libgmpxx.so.4.4.0 -lrwxrwxrwx root/root usr/lib/libgmpxx.so.4 -> libgmpxx.so.4.4.0 --rwxr-xr-x root/root usr/lib/libgmpxx.so.4.4.0 +lrwxrwxrwx root/root usr/lib/libgmpxx.so -> libgmpxx.so.4.5.0 +lrwxrwxrwx root/root usr/lib/libgmpxx.so.4 -> libgmpxx.so.4.5.0 +-rwxr-xr-x root/root usr/lib/libgmpxx.so.4.5.0 diff --git a/libgmp/.md5sum b/libgmp/.md5sum index b232e77..996c468 100644 --- a/libgmp/.md5sum +++ b/libgmp/.md5sum @@ -1,2 +1,2 @@ -1e6da4e434553d2811437aa42c7f7c76 gmp-6.0.0a.tar.xz -daeab39b836818ac780974b146ea7e4f gmp.h +a9868ef2556ad6a2909babcd1428f3c7 gmp-6.1.0.tar.xz +5fb0710c587cd5d462bd3439bc09f87f gmp.h diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile index 124712a..9bedf6f 100644 --- a/libgmp/Pkgfile +++ b/libgmp/Pkgfile @@ -5,20 +5,20 @@ # Depends on: name=libgmp -version=6.0.0a +version=6.1.0 release=1 -source=(ftp://ftp.gmplib.org/pub/gmp-${version%a}/gmp-$version.tar.xz \ +source=(ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.xz \ gmp.h) build() { - cd gmp-${version%a} + cd gmp-$version ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --enable-cxx make make DESTDIR=$PKG install - mv $PKG/usr/include/gmp{,-32}.h + mv $PKG/usr/include/gmp{,-64}.h install -m 0644 $SRC/gmp.h $PKG/usr/include/ rm -r $PKG/usr/share } diff --git a/libgmp/gmp.h b/libgmp/gmp.h index be48ef6..8dde2f2 100644 --- a/libgmp/gmp.h +++ b/libgmp/gmp.h @@ -6,6 +6,7 @@ #if defined(__x86_64__) || \ defined(__sparc64__) || \ defined(__arch64__) || \ + defined(__aarch64__) || \ defined(__powerpc64__) || \ defined(__s390x__) #include "gmp-64.h" -- 2.26.2