On Sat, 04 Feb 2012 11:11:20 +0100, Vincent Legout wrote:

> The attached patch fix this bug. This bug affects acovea and fixing this bug
> may fix #653744.

And here's the patch in a ready-to-use format as an attachment.

(Now filing a bug because the package doesn't build ATM.)


Cheers,
gregor
 

-- 
 .''`.  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: Bruce Springsteen: Bobby Jean
diff -Nru libevocosm-4.0.2/debian/changelog libevocosm-4.0.2/debian/changelog
--- libevocosm-4.0.2/debian/changelog	2012-01-28 01:08:56.000000000 +0100
+++ libevocosm-4.0.2/debian/changelog	2012-02-27 18:26:39.000000000 +0100
@@ -1,3 +1,11 @@
+libevocosm (4.0.2-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "-dev library is broken": add patch vector.patch from Vincent Legout.
+    (Closes: #658577)
+
+ -- gregor herrmann <gre...@debian.org>  Mon, 27 Feb 2012 18:13:05 +0100
+
 libevocosm (4.0.2-2) unstable; urgency=low
 
   * Acknowledgment for the NMU.  Incorporated changes into package. 
diff -Nru libevocosm-4.0.2/debian/patches/series libevocosm-4.0.2/debian/patches/series
--- libevocosm-4.0.2/debian/patches/series	2012-01-28 01:18:33.000000000 +0100
+++ libevocosm-4.0.2/debian/patches/series	2012-02-27 18:35:37.000000000 +0100
@@ -1,2 +1,3 @@
 doxygen-docs.patch
 debian-changes
+vector.patch
diff -Nru libevocosm-4.0.2/debian/patches/vector.patch libevocosm-4.0.2/debian/patches/vector.patch
--- libevocosm-4.0.2/debian/patches/vector.patch	1970-01-01 01:00:00.000000000 +0100
+++ libevocosm-4.0.2/debian/patches/vector.patch	2012-02-27 18:22:53.000000000 +0100
@@ -0,0 +1,66 @@
+Index: libevocosm-4.0.2/libevocosm/listener.h
+===================================================================
+--- libevocosm-4.0.2.orig/libevocosm/listener.h 2012-02-03 22:24:51.263280868 +0100
++++ libevocosm-4.0.2/libevocosm/listener.h      2012-02-03 22:27:17.191284912 +0100
+@@ -57,6 +57,7 @@
+ #include <string>
+ #include <iostream>
+ #include <iomanip>
++#include <vector>
+ 
+ // Windows
+ #if defined(_MSC_VER)
+@@ -85,7 +86,7 @@
+                 \param a_population Population before this generation's evolution
+                 \param a_iteration One-based number of the generation begun
+             */
+-            virtual void ping_generation_begin(const vector<OrganismType> & a_population, size_t a_iteration) = 0;
++            virtual void ping_generation_begin(const std::vector<OrganismType> & a_population, size_t a_iteration) = 0;
+ 
+             //! Ping that a generation ends
+             /*!
+@@ -93,7 +94,7 @@
+                 \param a_population Population for which processing has ended
+                 \param a_iteration One-based number of the generation ended
+             */
+-            virtual void ping_generation_end(const vector<OrganismType> & a_population, size_t a_iteration) = 0;
++            virtual void ping_generation_end(const std::vector<OrganismType> & a_population, size_t a_iteration) = 0;
+ 
+             //! Ping that a test run begins
+             /*!
+@@ -135,7 +136,7 @@
+                 Invoked when an evocosm finishes all processing. This way God can
+                 rest on the seventh day.
+             */
+-            virtual void run_complete(const vector<OrganismType> & a_population) = 0;
++            virtual void run_complete(const std::vector<OrganismType> & a_population) = 0;
+     };
+ 
+     //! An listener implementation that ignores all events
+@@ -152,7 +153,7 @@
+                 \param a_population Population before this generation's evolution
+                 \param a_iteration One-based number of the generation begun
+             */
+-            virtual void ping_generation_begin(const vector<OrganismType> & a_population, size_t a_iteration)
++            virtual void ping_generation_begin(const std::vector<OrganismType> & a_population, size_t a_iteration)
+             {
+                 // do nothing
+             }
+@@ -163,7 +164,7 @@
+                 \param a_population population for which processing has ended
+                 \param a_iteration One-based number of the generation ended
+             */
+-            virtual void ping_generation_end(const vector<OrganismType> & a_population, size_t a_iteration)
++            virtual void ping_generation_end(const std::vector<OrganismType> & a_population, size_t a_iteration)
+             {
+                 // do nothing
+             }
+@@ -220,7 +221,7 @@
+                 Invoked when an evocosm finishes all processing. This way God can
+                 rest on the seventh day.
+             */
+-            virtual void run_complete(const vector<OrganismType> & a_population)
++            virtual void run_complete(const std::vector<OrganismType> & a_population)
+             {
+                 // do nothing
+             }

Attachment: signature.asc
Description: Digital signature

Reply via email to