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

Modified Files:
        gmm.info 
Added Files:
        gmm.patch 
Log Message:
new upstream, plus clang fix

--- NEW FILE: gmm.patch ---
--- gmm-4.1/include/gmm/gmm_vector.h.orig       2011-07-12 20:22:48.000000000 
-0400
+++ gmm-4.1/include/gmm/gmm_vector.h    2011-07-12 20:23:49.000000000 -0400
@@ -242,7 +242,7 @@
   template<typename T>  void wsvector<T>::resize(size_type n) {
     if (n < nbl) {
       iterator it = this->begin(), itf = it, ite = this->end();
-      while (it != ite) { ++itf; if (it->first >= n) erase(it); it = itf; }
+      while (it != ite) { ++itf; if (it->first >= n) this->erase(it); it = 
itf; }
     }
     nbl = n;
   }

Index: gmm.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/gmm.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gmm.info    17 Feb 2010 16:57:52 -0000      1.3
+++ gmm.info    20 Jul 2011 19:17:22 -0000      1.4
@@ -1,25 +1,36 @@
 Package: gmm
-Version: 4.0.0
+Version: 4.1
 Revision: 1
-Source: http://download.gna.org/getfem/stable/%n-%v.tar.gz
-Source-MD5: b62bced3e8975292ffd83f2cb8b331f8
+Description: C++ template library for matrices
+License: LGPL
+Maintainer: Benjamin Reed <g...@fink.raccoonfink.com>
+
+BuildDepends: fink (>= 0.30.0-1)
 BuildDependsOnly: true
-InfoTest: TestScript: make check || exit 2
 GCC: 4.0
-CompileScript: <<
-#!/bin/sh -ev
+InfoTest: TestScript: make check || exit 2
 
-       if [ -x /usr/bin/gcc-4.2 ]; then
-               export CC=gcc-4.2 CXX=g++-4.2 CPP=cpp-4.2
+Source: http://download.gna.org/getfem/stable/%n-%v.tar.gz
+Source-MD5: fcd2a94927a38922c566ebdfdb5b6b76
+PatchFile: %n.patch
+PatchFile-MD5: 16b905e020fe1ec83dc19badb1af092c
+
+UseMaxBuildJobs: true
+CompileScript: <<
+       #!/bin/sh -ev
+       if [[ $(sw_vers -productVersion) > 10.6 ]]; then
+       export CC=clang CXX=clang++ CPP="clang++ -E"
+       elif [ -x /usr/bin/gcc-4.2 ]; then
+       export CC=gcc-4.2 CXX=g++-4.2 CPP=cpp-4.2
        else
-               export CC=gcc-4.0 CXX=g++-4.0 CPP=cpp-4.0
+       export CC=gcc-4.0 CXX=g++-4.0 CPP=cpp-4.0
        fi
        ./configure %c
        make
 <<
+
 InstallScript: make -j1 install DESTDIR="%d"
 DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README
-Description: C++ template library for matrices
-Maintainer: Benjamin Reed <g...@fink.racoonfink.com>
+
 Homepage: http://home.gna.org/getfem/gmm_intro.html
-License: LGPL
+


------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to