Package: synopsis
Version: 0.8.0-5
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 synopsis_0.8.0-5 on coconut0 by sbuild/ia64 0.49
...
> g++ -I/usr/include/gc -I . -I /build/tbm/synopsis-0.8.0/src -pthread -g -O2 
> -fPIC -c -o Synopsis/Buffer.o /build/tbm/synopsis-0.8.0/src/Synopsis/Buffer.cc
> /build/tbm/synopsis-0.8.0/src/Synopsis/Buffer.cc: In member function 'void 
> Synopsis::Buffer::write(std::ostream&, const std::string&) const':
> /build/tbm/synopsis-0.8.0/src/Synopsis/Buffer.cc:78: error: 'sort' is not a 
> member of 'std'
> make[1]: *** [Synopsis/Buffer.o] Error 1
> make[1]: Leaving directory 
> `/build/tbm/synopsis-0.8.0/build/ctemp.linux-ia64/src'
> error: command 'sh' failed with exit status 2

--- src/Synopsis/Buffer.cc~     2007-03-04 21:27:52.000000000 +0000
+++ src/Synopsis/Buffer.cc      2007-03-04 21:28:54.000000000 +0000
@@ -7,6 +7,7 @@
 //
 #include "Synopsis/Buffer.hh"
 #include "Synopsis/Lexer.hh"
+#include <algorithm>
 #include <streambuf>
 #include <iterator>
 #include <string>
--- src/Support/Path-posix.cc~  2007-03-04 21:32:11.000000000 +0000
+++ src/Support/Path-posix.cc   2007-03-04 21:32:18.000000000 +0000
@@ -6,6 +6,7 @@
 //
 
 #include "Path.hh"
+#include <algorithm>
 #include <vector>
 #include <stdexcept>
 #include <cerrno>

-- 
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