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

Modified Files:
        gmp5.info 
Added Files:
        gmp5.patch 
Log Message:
upstream update 5.0.2 +autoconf-m4-test patch


Index: gmp5.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/gmp5.info,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- gmp5.info   26 Apr 2011 17:43:04 -0000      1.10
+++ gmp5.info   19 May 2011 18:11:10 -0000      1.11
@@ -1,16 +1,16 @@
 Info4: <<
 Package: gmp5%type_pkg[-64bit]
-Version: 5.0.1
-Revision: 8
+Version: 5.0.2
+Revision: 1
 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
-Source2: http://www.csl.cornell.edu/~fang/sw/gmp-trunk-20110131-config.guess
-Source2-MD5: d526c73bbb512808aa4e871937dd6fa4
-# PatchFile: %{ni}.patch
-# PatchFile-MD5: a32c8651a786aa499afd6b3cb997c017
+Source-MD5: 87e73447afdc2ca5cefd987da865da51
+# Source2: http://www.csl.cornell.edu/~fang/sw/gmp-trunk-20110131-config.guess
+# Source2-MD5: d526c73bbb512808aa4e871937dd6fa4
+PatchFile: %{ni}.patch
+PatchFile-MD5: 61b8e6d474d97eb38cf65ccceed9003d
 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,10 +31,11 @@
 <<
 PatchScript: <<
   #!/bin/sh -ev
-  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
+  %{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
 <<
 CompileScript: <<
 #! /bin/sh -ev
@@ -53,11 +54,11 @@
    test -x `which gcc-4.2` || { echo "gcc-4.2 required, but missing!"; exit 1; 
}
  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
+ # hb=`../config.guess`
+ # 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 ;;
@@ -141,6 +142,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>

--- 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


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to