Package: config-manager
Version: 0.3-3
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  A patch for this problem is
below.

> Automatic build of config-manager_0.3-3 on em64t by sbuild/amd64 0.53
...
>       then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; 
> exit 1; fi
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include -Wall 
> -Werror -g -O2 -MT src/OptionSet.lo -MD -MP -MF src/.deps/OptionSet.Tpo -c 
> src/OptionSet.cc -o src/OptionSet.o
> src/OptionSet.cc: In member function 'virtual void 
> OptionSet::ParameterUsage(std::ostream&)':
> src/OptionSet.cc:319: error: 'for_each' was not declared in this scope
> make[3]: *** [src/OptionSet.lo] Error 1
> make[3]: Leaving directory `/build/tbm/config-manager-0.3/libgetopt'


--- ./src/cm.cc~        2007-03-05 11:57:14.000000000 +0000
+++ ./src/cm.cc 2007-03-05 11:57:21.000000000 +0000
@@ -26,6 +26,7 @@
 #include <getopt++/BoolOption.h>
 #include <getopt++/StringOption.h>
 #include <getopt++/StringCollector.h>
+#include <algorithm>
 #include <cassert>
 #include <sstream>
 #include <fstream>
--- ./libgetopt/src/OptionSet.cc~       2007-03-05 11:50:38.000000000 +0000
+++ ./libgetopt/src/OptionSet.cc        2007-03-05 11:50:46.000000000 +0000
@@ -21,6 +21,7 @@
 #include "getopt++/Option.h"
 #include "getopt++/DefaultFormatter.h"
 
+#include <algorithm>
 #include <iostream>
 
 using namespace std;

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to