gmp: update to gmp-5.1.1

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-03-28 22:33:48 +01:00
parent 539d8d4d6c
commit 4dbd355d88
4 changed files with 2 additions and 41 deletions

View File

@ -36,7 +36,6 @@ mkdir -p .objdir-target && cd .objdir-target
--localstatedir=/var \
--disable-static \
--enable-shared \
--disable-mpbsd \
--disable-cxx \
make

View File

@ -19,12 +19,12 @@
################################################################################
PKG_NAME="gmp"
PKG_VERSION="5.0.5"
PKG_VERSION="5.1.1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://gmplib.org/"
PKG_URL="http://ftp.sunet.se/pub/gnu/gmp/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_URL="ftp://ftp.gmplib.org/pub/$PKG_NAME-$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"

View File

@ -1,36 +0,0 @@
diff -Naur gmp-5.0.5/configure.in gmp-5.0.5.patch/configure.in
--- gmp-5.0.5/configure.in 2012-05-06 13:19:49.000000000 +0200
+++ gmp-5.0.5.patch/configure.in 2013-01-12 02:25:31.897257189 +0100
@@ -65,8 +65,8 @@
dnl Note that there's a copy of these options in the top-level Makefile.am,
dnl so update there too if changing anything.
dnl
-AM_INIT_AUTOMAKE([1.8 gnu no-dependencies $(top_builddir)/ansi2knr])
-AM_CONFIG_HEADER(config.h:config.in)
+AM_INIT_AUTOMAKE([1.8 gnu no-dependencies])
+AC_CONFIG_HEADERS(config.h:config.in)
AM_MAINTAINER_MODE
@@ -2228,9 +2228,6 @@
echo " MPN_PATH=\"$path\""
-# Automake ansi2knr support.
-AM_C_PROTOTYPES
-
CL_AS_NOEXECSTACK
GMP_PROG_AR
diff -Naur gmp-5.0.5/Makefile.am gmp-5.0.5.patch/Makefile.am
--- gmp-5.0.5/Makefile.am 2012-05-06 13:19:49.000000000 +0200
+++ gmp-5.0.5.patch/Makefile.am 2013-01-12 02:25:09.603364249 +0100
@@ -25,7 +25,7 @@
# Makefiles in subdirectories, but here we must omit it so automake gives
# the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr".
#
-AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies ansi2knr
+AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies
# Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the

View File

@ -38,10 +38,8 @@ mkdir -p .objdir-host && cd .objdir-host
--prefix=$ROOT/$TOOLCHAIN \
--enable-shared \
--disable-static \
--enable-mpbsd \
--enable-cxx \
# --target=$TARGET_NAME \
make
make check
make install