pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gmp Apply patch from http://gmplib.org/list-arch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5588e5103606
branches:  trunk
changeset: 399357:5588e5103606
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Fri Sep 18 14:33:32 2009 +0000

description:
Apply patch from http://gmplib.org/list-archives/gmp-bugs/2009-May/001485.html
to fix sunpro build.

diffstat:

 devel/gmp/distinfo         |   3 ++-
 devel/gmp/patches/patch-ad |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r ca8564411b0e -r 5588e5103606 devel/gmp/distinfo
--- a/devel/gmp/distinfo        Fri Sep 18 14:15:30 2009 +0000
+++ b/devel/gmp/distinfo        Fri Sep 18 14:33:32 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2009/08/16 13:42:33 wiz Exp $
+$NetBSD: distinfo,v 1.29 2009/09/18 14:33:32 sketch Exp $
 
 SHA1 (gmp-4.3.1.tar.bz2) = acbd1edc61230b1457e9742136994110e4f381b2
 RMD160 (gmp-4.3.1.tar.bz2) = f325d809dde1f87816eea3697bcfe00f3ec8f10d
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = a53db34c8ecf38d6556a59a0fa7382456c30fab6
 SHA1 (patch-ab) = e768eca25c117871041d12a618e38d9d252f25e5
 SHA1 (patch-ac) = 9c7e6817632596bfd6c86a30e3b2d7f78fccd5ff
+SHA1 (patch-ad) = 618ccdbe8083a79229af119bd5963d5deeff0616
diff -r ca8564411b0e -r 5588e5103606 devel/gmp/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gmp/patches/patch-ad        Fri Sep 18 14:33:32 2009 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ad,v 1.5 2009/09/18 14:33:32 sketch Exp $
+
+--- gmp-h.in.orig      Fri Sep 18 15:20:31 2009
++++ gmp-h.in   Fri Sep 18 15:21:05 2009
+@@ -463,12 +463,6 @@
+ #define __GMP_EXTERN_INLINE  __inline
+ #endif
+ 
+-/* Recent enough Sun C compilers accept "extern inline" */
+-#if defined (__SUNPRO_C) && __SUNPRO_C >= 0x560 \
+-  && ! defined (__GMP_EXTERN_INLINE)
+-#define __GMP_EXTERN_INLINE  extern inline
+-#endif
+-
+ /* Somewhat older Sun C compilers accept "static inline" */
+ #if defined (__SUNPRO_C) && __SUNPRO_C >= 0x540 \
+   && ! defined (__GMP_EXTERN_INLINE)



Home | Main Index | Thread Index | Old Index