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

Modified Files:
        gmp.info gmp5.info gmp5.patch 
Log Message:
gmp5: upstream patch for division bug (infrequent)
gmp, gmp5: make -j1 install, for UseMaxBuildJobs


Index: gmp5.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/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:05:44 -0000      1.1
+++ gmp5.info   26 Jul 2011 18:02:40 -0000      1.2
@@ -1,7 +1,7 @@
 Info4: <<
 Package: gmp5%type_pkg[-64bit]
 Version: 5.0.2
-Revision: 1
+Revision: 2
 GCC: 4.0
 Type: -64bit (boolean)
 Architecture: ( %type_raw[-64bit] = -64bit ) powerpc, ( %type_raw[-64bit] = 
-64bit ) i386
@@ -10,7 +10,7 @@
 Source2: http://www.csl.cornell.edu/~fang/sw/gmp-trunk-20110131-config.guess
 Source2-MD5: d526c73bbb512808aa4e871937dd6fa4
 PatchFile: %{ni}.patch
-PatchFile-MD5: 61b8e6d474d97eb38cf65ccceed9003d
+PatchFile-MD5: 5e2d7de9993a24aee6ad146b844fb6a3
 Depends: <<
   %N-shlibs (= %v-%r),
   libgmpxx5%type_pkg[-64bit]-shlibs (= %v-%r),
@@ -37,6 +37,7 @@
   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
@@ -79,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
@@ -129,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.

Index: gmp.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/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:05:44 -0000      1.1
+++ gmp.info    26 Jul 2011 18:02:40 -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

Index: gmp5.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/10.4-EOL/libs/gmp5.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- gmp5.patch  11 Jul 2011 04:05:44 -0000      1.1
+++ gmp5.patch  26 Jul 2011 18:02:40 -0000      1.2
@@ -24,3 +24,15 @@
  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;


------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to