summaryrefslogtreecommitdiff
path: root/multilib/lib32-gmp
diff options
context:
space:
mode:
Diffstat (limited to 'multilib/lib32-gmp')
-rw-r--r--multilib/lib32-gmp/538dfce27f41.patch38
-rw-r--r--multilib/lib32-gmp/PKGBUILD49
2 files changed, 0 insertions, 87 deletions
diff --git a/multilib/lib32-gmp/538dfce27f41.patch b/multilib/lib32-gmp/538dfce27f41.patch
deleted file mode 100644
index 2e0a1af50..000000000
--- a/multilib/lib32-gmp/538dfce27f41.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-
-# HG changeset patch
-# User Torbjorn Granlund <tege@gmplib.org>
-# Date 1310730221 -7200
-# Node ID 538dfce27f410b910d5e2f011119269e224d16a3
-# Parent 03ed209dd7efd4f4fff0ce297bb3a8f7e7ba2366
-(mpn_dcpi1_bdiv_q): Get mpn_sub_1 size argument right.
-
-diff -r 03ed209dd7ef -r 538dfce27f41 mpn/generic/dcpi1_bdiv_q.c
---- a/mpn/generic/dcpi1_bdiv_q.c Thu Jun 16 12:22:24 2011 +0200
-+++ b/mpn/generic/dcpi1_bdiv_q.c Fri Jul 15 13:43:41 2011 +0200
-@@ -7,7 +7,7 @@
- SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES. IN FACT, IT IS ALMOST
- GUARANTEED THAT THEY WILL CHANGE OR DISAPPEAR IN A FUTURE GMP RELEASE.
-
--Copyright 2006, 2007, 2009, 2010 Free Software Foundation, Inc.
-+Copyright 2006, 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
-
- This file is part of the GNU MP Library.
-
-@@ -28,7 +28,6 @@
- #include "gmp-impl.h"
-
-
--
- mp_size_t
- mpn_dcpi1_bdiv_q_n_itch (mp_size_t n)
- {
-@@ -130,7 +129,7 @@
- qn = nn - qn;
- while (qn > dn)
- {
-- mpn_sub_1 (np + dn, np + dn, qn, cy);
-+ mpn_sub_1 (np + dn, np + dn, qn - dn, cy);
- cy = mpn_dcpi1_bdiv_qr_n (qp, np, dp, dn, dinv, tp);
- qp += dn;
- np += dn;
-
diff --git a/multilib/lib32-gmp/PKGBUILD b/multilib/lib32-gmp/PKGBUILD
deleted file mode 100644
index 8b23b1cc0..000000000
--- a/multilib/lib32-gmp/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 70673 2012-05-14 16:08:09Z bluewind $
-# Maintainer: Florian Pritz <bluewind@xinu.at>
-# Contributor: josephgbr <rafael.f.f1@gmail.com>
-
-_pkgbasename=gmp
-pkgname=lib32-$_pkgbasename
-pkgver=5.0.5
-pkgrel=1
-pkgdesc="A free library for arbitrary precision arithmetic (32-bit)"
-arch=('x86_64')
-url="http://gmplib.org/"
-depends=('lib32-gcc-libs' $_pkgbasename)
-makedepends=(gcc-multilib)
-license=('LGPL3')
-options=(!libtool)
-source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.xz{,.sig})
-md5sums=('8aef50959acec2a1ad41d144ffe0f3b5'
- '406e8878aadc51b134d1b3dd845261ee')
-
-build() {
- export CC="gcc -m32"
- export CXX="g++ -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
- cd "${srcdir}/${_pkgbasename}-${pkgver}"
-
- export ABI=32
- ./configure \
- --prefix=/usr --infodir=/usr/share/info \
- --enable-cxx --libdir=/usr/lib32 \
- --includedir=/usr/lib32/gmp
-
- #Put gmp.h in the same folder as gmpxx.h
- sed -i 's/$(exec_prefix)\/include/$\(includedir\)/' Makefile
-
- make
-}
-
-check() {
- cd "${srcdir}/${_pkgbasename}-${pkgver}"
- make check
-}
-
-package() {
- cd "${srcdir}/${_pkgbasename}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- rm -rf "${pkgdir}"/usr/{include,share,bin}
-}