tags 667315 + pending
thanks

Dear maintainer,

I've prepared an NMU for openturns (versioned as 0.15-3.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Ludwig Hirsch: 1928
diff -Nru openturns-0.15/debian/changelog openturns-0.15/debian/changelog
--- openturns-0.15/debian/changelog	2012-03-31 04:39:23.000000000 +0200
+++ openturns-0.15/debian/changelog	2012-04-21 13:54:44.000000000 +0200
@@ -1,3 +1,12 @@
+openturns (0.15-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "ftbfs with GCC-4.7": add patch from Denis Barbier: move declaration
+    of streamObject before first usage.
+    (Closes: #667315)
+
+ -- gregor herrmann <[email protected]>  Sat, 21 Apr 2012 13:54:09 +0200
+
 openturns (0.15-3) unstable; urgency=low
 
   * Team upload. (Closes: #662792).
diff -Nru openturns-0.15/debian/patches/ftbfs-4.7.patch openturns-0.15/debian/patches/ftbfs-4.7.patch
--- openturns-0.15/debian/patches/ftbfs-4.7.patch	1970-01-01 01:00:00.000000000 +0100
+++ openturns-0.15/debian/patches/ftbfs-4.7.patch	2012-04-21 13:34:13.000000000 +0200
@@ -0,0 +1,48 @@
+--- openturns-0.15.orig/lib/include/OTtestcode.hxx
++++ openturns-0.15/lib/include/OTtestcode.hxx
+@@ -196,6 +196,22 @@
+ 
+ 
+     /**
++     * @fn streamObject(const T & anObject)
++     *
++     * Try to stream an object onto an ostream object (std::cout).
++     * This method tests the operator << of the object.
++     */
++    template <class T>
++    void streamObject(const T & anObject)
++    {
++      std::cout << "streamObject(const T & anObject)"
++                << std::endl;
++      OT::Base::Common::OStream fullprint(std::cout);
++      fullprint << anObject << std::endl;
++    }
++
++
++    /**
+      * @fn checkNameConstructor()
+      *
+      * Try to instanciate an object with a name.
+@@ -216,22 +232,6 @@
+     }
+ 
+ 
+-    /**
+-     * @fn streamObject(const T & anObject)
+-     *
+-     * Try to stream an object onto an ostream object (std::cout).
+-     * This method tests the operator << of the object.
+-     */
+-    template <class T>
+-    void streamObject(const T & anObject)
+-    {
+-      std::cout << "streamObject(const T & anObject)"
+-                << std::endl;
+-      OT::Base::Common::OStream fullprint(std::cout);
+-      fullprint << anObject << std::endl;
+-    }
+-
+-
+     /**
+      * @fn areSameObjects(const T & firstObject, const T & secondObject)
+      *
diff -Nru openturns-0.15/debian/patches/series openturns-0.15/debian/patches/series
--- openturns-0.15/debian/patches/series	2012-03-26 10:39:33.000000000 +0200
+++ openturns-0.15/debian/patches/series	2012-04-21 13:54:05.000000000 +0200
@@ -3,3 +3,4 @@
 #gcc45.patch
 #openturns-python26.diff
 #pth.diff
+ftbfs-4.7.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to