diff options
-rw-r--r-- | devel/gmp/Makefile | 18 | ||||
-rw-r--r-- | devel/gmp/distinfo | 13 | ||||
-rw-r--r-- | devel/gmp/patches/patch-ac | 6 |
3 files changed, 17 insertions, 20 deletions
diff --git a/devel/gmp/Makefile b/devel/gmp/Makefile index 46d092d0fa5..f408bf8c98d 100644 --- a/devel/gmp/Makefile +++ b/devel/gmp/Makefile @@ -1,14 +1,13 @@ -# $NetBSD: Makefile,v 1.51 2008/04/01 00:57:09 bjs Exp $ +# $NetBSD: Makefile,v 1.52 2008/08/17 07:56:11 bjs Exp $ -DISTNAME= gmp-4.2.2 -PKGREVISION= 1 +DISTNAME= gmp-4.2.3 CATEGORIES= devel math MASTER_SITES= ${MASTER_SITE_GNU:=gmp/} EXTRACT_SUFX= .tar.bz2 -PATCHFILES= mpf_set_str.c.diff -PATCH_SITES+= http://www.gmplib.org/patches/ -PATCH_DIST_STRIP= -p0 +#PATCHFILES= +#PATCH_SITES+= http://www.gmplib.org/patches/ +#PATCH_DIST_STRIP= -p0 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://gmplib.org/ @@ -18,12 +17,13 @@ COMMENT= Library for arbitrary precision arithmetic PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews +GNU_CONFIGURE= yes +INFO_FILES= yes USE_LANGUAGES= c c++ c99 -USE_TOOLS+= gm4 autoconf USE_LIBTOOL= yes -GNU_CONFIGURE= yes +USE_TOOLS+= gm4 autoconf + CONFIGURE_ARGS+= --enable-cxx --without-readline -INFO_FILES= # PLIST TEST_TARGET= check diff --git a/devel/gmp/distinfo b/devel/gmp/distinfo index 536cb7dba30..738b918e643 100644 --- a/devel/gmp/distinfo +++ b/devel/gmp/distinfo @@ -1,11 +1,8 @@ -$NetBSD: distinfo,v 1.22 2008/07/14 13:06:23 tonio Exp $ +$NetBSD: distinfo,v 1.23 2008/08/17 07:56:11 bjs Exp $ -SHA1 (gmp-4.2.2.tar.bz2) = 8c5f9798956f9b0162a25a56477a3566a92abc72 -RMD160 (gmp-4.2.2.tar.bz2) = 4021720f78b02244197c0c49522289e7fe81aad9 -Size (gmp-4.2.2.tar.bz2) = 1747068 bytes -SHA1 (mpf_set_str.c.diff) = 8e5133ec2dbf4c19738faf90f8df5343cf2533f1 -RMD160 (mpf_set_str.c.diff) = 455375f049ff8ef809e796441ec7a83ec648287b -Size (mpf_set_str.c.diff) = 1062 bytes +SHA1 (gmp-4.2.3.tar.bz2) = 0106bae14a96d13819a0833e9938a994df230d3b +RMD160 (gmp-4.2.3.tar.bz2) = 01d73df59ae87bff995dd4cf3f20788627715a5e +Size (gmp-4.2.3.tar.bz2) = 1710314 bytes SHA1 (patch-aa) = a53db34c8ecf38d6556a59a0fa7382456c30fab6 SHA1 (patch-ab) = e768eca25c117871041d12a618e38d9d252f25e5 -SHA1 (patch-ac) = aba76fe105ed971e09901c5fc3d756529094b618 +SHA1 (patch-ac) = 3120f7d207d65942910f8776786c0dbf6ee4d1b2 diff --git a/devel/gmp/patches/patch-ac b/devel/gmp/patches/patch-ac index df28de9a89a..6793d507e82 100644 --- a/devel/gmp/patches/patch-ac +++ b/devel/gmp/patches/patch-ac @@ -1,11 +1,11 @@ -$NetBSD: patch-ac,v 1.7 2008/07/14 13:06:23 tonio Exp $ +$NetBSD: patch-ac,v 1.8 2008/08/17 07:56:11 bjs Exp $ Apple's gcc build >5400 (since Xcode 3.0) doesn't support GNU inline in C99 mode ---- gmp-h.in.orig 2007-09-03 18:05:40.000000000 +0200 +--- gmp-h.in.orig 2008-07-23 06:22:16.000000000 -0400 +++ gmp-h.in @@ -423,8 +423,11 @@ typedef __mpq_struct *mpq_ptr; - #ifdef __GNUC_STDC_INLINE__ + #if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__)) #else +#if defined(__APPLE_CC__) && __APPLE_CC__ > 5400 && __STDC_VERSION__ >= 199901L |