r44801 - in /packages/openturns/trunk/debian: changelog patches/ftbfs-4.7.patch patches/series
barbier-guest at users.alioth.debian.org
barbier-guest at users.alioth.debian.org
Tue May 15 20:19:49 UTC 2012
Author: barbier-guest
Date: Tue May 15 20:19:49 2012
New Revision: 44801
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44801
Log:
Debian version 0.15-3.1
Added:
packages/openturns/trunk/debian/patches/ftbfs-4.7.patch
Modified:
packages/openturns/trunk/debian/changelog
packages/openturns/trunk/debian/patches/series
Modified: packages/openturns/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/changelog?rev=44801&op=diff
==============================================================================
--- packages/openturns/trunk/debian/changelog (original)
+++ packages/openturns/trunk/debian/changelog Tue May 15 20:19:49 2012
@@ -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 <gregoa at debian.org> Sat, 21 Apr 2012 13:54:09 +0200
+
openturns (0.15-3) unstable; urgency=low
* Team upload. (Closes: #662792).
Added: packages/openturns/trunk/debian/patches/ftbfs-4.7.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/patches/ftbfs-4.7.patch?rev=44801&op=file
==============================================================================
--- packages/openturns/trunk/debian/patches/ftbfs-4.7.patch (added)
+++ packages/openturns/trunk/debian/patches/ftbfs-4.7.patch Tue May 15 20:19:49 2012
@@ -1,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)
+ *
Modified: packages/openturns/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/patches/series?rev=44801&op=diff
==============================================================================
--- packages/openturns/trunk/debian/patches/series (original)
+++ packages/openturns/trunk/debian/patches/series Tue May 15 20:19:49 2012
@@ -3,3 +3,4 @@
#gcc45.patch
#openturns-python26.diff
#pth.diff
+ftbfs-4.7.patch
More information about the debian-science-commits
mailing list