Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs
In directory vz-cvs-3.sog:/tmp/cvs-serv13377

Modified Files:
        gmp.info gmp5.info 
Added Files:
        gmp5.patch 
Log Message:
sync. w/ 10.!4/stable


Index: gmp5.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs/gmp5.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- gmp5.info   11 Jul 2011 04:08:33 -0000      1.1
+++ gmp5.info   8 Oct 2011 00:06:30 -0000       1.2
@@ -1,16 +1,16 @@
 Info4: <<
 Package: gmp5%type_pkg[-64bit]
-Version: 5.0.1
-Revision: 8
+Version: 5.0.2
+Revision: 2
 GCC: 4.0
 Type: -64bit (boolean)
 Architecture: ( %type_raw[-64bit] = -64bit ) powerpc, ( %type_raw[-64bit] = 
-64bit ) i386
 Source: mirror:gnu:gmp/gmp-%v.tar.gz
-Source-MD5: 5ec19db53ced047b8d0d52373f6c245d
+Source-MD5: 87e73447afdc2ca5cefd987da865da51
 Source2: http://www.csl.cornell.edu/~fang/sw/gmp-trunk-20110131-config.guess
 Source2-MD5: d526c73bbb512808aa4e871937dd6fa4
-# PatchFile: %{ni}.patch
-# PatchFile-MD5: a32c8651a786aa499afd6b3cb997c017
+PatchFile: %{ni}.patch
+PatchFile-MD5: 5e2d7de9993a24aee6ad146b844fb6a3
 Depends: <<
   %N-shlibs (= %v-%r),
   libgmpxx5%type_pkg[-64bit]-shlibs (= %v-%r),
@@ -21,9 +21,9 @@
 Conflicts: gmp, gmp-64bit, gmp5, gmp5-64bit
 Replaces: gmp, gmp-64bit, gmp5, gmp5-64bit
 SetCPPFLAGS: -fexceptions
+# $host_build_override
 ConfigureParams: <<
   ABI=$ABI \
-  $host_build_override \
   --libdir='${prefix}/%lib/gmp5' \
   --infodir='${prefix}/share/info' \
   --enable-cxx \
@@ -31,11 +31,13 @@
 <<
 PatchScript: <<
   #!/bin/sh -ev
+  %{default_script}
   echo "replacing gmp's config.guess with newer one from trunk (patched)"
   mv config.guess config.guess.orig
   sed 's|corei[a-z]*|corei|g' ../gmp-trunk-*-config.guess > ./config.guess
   chmod +x ./config.guess
 <<
+UseMaxBuildJobs: true
 CompileScript: <<
 #! /bin/sh -ev
  mkdir build
@@ -54,10 +56,11 @@
  fi
  # force i386 to bump to i686 to avoid symbol dep on __sync_fetch_and_add_4
  hb=`../config.guess`
- case $hb in
-   i386-*-*) hb=`echo $hb | sed 's|i386|i686|'`
-       host_build_override="--host=$hb --build=$hb" ;;
- esac
+ echo "config.guess: $hb"
+ # case $hb in
+ #   i386-*-*) hb=`echo $hb | sed 's|i386|i686|'`
+ #     host_build_override="--host=$hb --build=$hb" ;;
+ # esac
  if [ "%type_raw[-64bit]" == "." ] ; then
   case "%m" in
     i386 | powerpc) ABI=32 ;;
@@ -77,7 +80,7 @@
 InstallScript: <<
   #!/bin/sh -ev
   cd build
-  make DESTDIR=%d install
+  make -j1 DESTDIR=%d install
   #Move .la and symlinks to %p/%lib so packages don't need tricks to find them.
   mv %i/%lib/gmp5/libgmp.la %i/%lib
   mv %i/%lib/gmp5/libgmpxx.la %i/%lib
@@ -127,6 +130,9 @@
  Since gmp5, static libraries have been removed in favor of shared-only.
 <<
 DescPort: <<
+ gmp5-5.0.2-2: includes patch for low probability division bug in
+       mpn/generic/dcpi1_bdiv_q.c
+
  Older notes:
 
  Patch from Ben Hines to build libgmpxx, as of vers. 4.1-2.  As of vers.
@@ -141,6 +147,9 @@
  As of vers. 4.2.3, we are building with -fexceptions, for the benefit of
  ppl library that will be used in gcc 4.4.x.  (Suggested by Jack Howarth;
  see http://www.cs.unipr.it/ppl/ and http://gcc.gnu.org/wiki/Graphite .)
+
+ Patch: from jhowarth for configure test on llvm-gcc/clang builds
+       checking how to switch to read-only data section...
 <<
 Maintainer: David Fang <fang...@users.sourceforge.net>
 # Former maintainer: Dave Morrison <d...@finkproject.org>

Index: gmp.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs/gmp.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- gmp.info    11 Jul 2011 04:08:33 -0000      1.1
+++ gmp.info    8 Oct 2011 00:06:30 -0000       1.2
@@ -39,6 +39,7 @@
   sed 's|corei[a-z]*|core2|g' ../gmp-trunk-*-config.guess > ./config.guess
   chmod +x ./config.guess
 <<
+UseMaxBuildJobs: true
 CompileScript: <<
 #! /bin/sh -ev
  mkdir build
@@ -78,7 +79,7 @@
 InstallScript: <<
   #!/bin/sh -ev
   cd build
-  make DESTDIR=%d install
+  make -j1 DESTDIR=%d install
 <<
 DocFiles: COPYING COPYING.LIB README
 InfoDocs: gmp.info

--- NEW FILE: gmp5.patch ---
--- gmp-5.0.2/acinclude.m4.orig 2011-05-17 19:03:09.000000000 -0400
+++ gmp-5.0.2/acinclude.m4      2011-05-17 19:03:43.000000000 -0400
@@ -1941,8 +1941,8 @@
 esac
 
 cat >conftest.c <<EOF
-extern const int foo[];                /* Suppresses C++'s suppression of foo 
*/
-const int foo[] = {1,2,3};
+extern const int foo[[]];              /* Suppresses C++'s suppression of foo 
*/
+const int foo[[]] = {1,2,3};
 EOF
 echo "Test program:" >&AC_FD_CC
 cat conftest.c >&AC_FD_CC
--- gmp-5.0.2/configure.orig    2011-05-17 19:15:41.000000000 -0400
+++ gmp-5.0.2/configure 2011-05-17 19:16:00.000000000 -0400
@@ -26446,8 +26446,8 @@
 esac
 
 cat >conftest.c <<EOF
-extern const int foo;          /* Suppresses C++'s suppression of foo */
-const int foo = {1,2,3};
+extern const int foo[];        /* Suppresses C++'s suppression of foo */
+const int foo[] = {1,2,3};
 EOF
 echo "Test program:" >&5
 cat conftest.c >&5
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
@@ -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;


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to