Your message dated Wed, 20 Feb 2008 18:24:28 -0500
with message-id <[EMAIL PROTECTED]>
has caused the report #466756,
regarding FTBFS with GCC 4.3: missing #includes
to be marked as having been forwarded to the upstream software
author(s)
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
466756: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466756
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
This is quite similar to a gcc 4.3 build issue I sent a patch for
earlier, except now it's failing the the maemo ui, which I recently
enabled to build for debian. The attached patch should fix it.
Martin Michlmayr wrote:
> Package: fbreader
> Version: 0.8.14-1
> Severity: important
> Usertags: ftbfs-gcc-4.3
>
> 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. In GCC 4.3, the C++ header
> dependencies have been cleaned up. The advantage of this is that
> programs will compile faster. The downside is that you actually
> need to directly #include everything you use (but you really should
> do this anyway, otherwise your program won't work with any compiler
> other than GCC). There's some more information about this at
> http://gcc.gnu.org/gcc-4.3/porting_to.html
>
> You can reproduce this problem with gcc-4.3 or gcc-snapshot from
> unstable.
>
> > Automatic build of fbreader_0.8.14-1 on em64t by sbuild/amd64 0.53
> ...
> > make[2]: Leaving directory
> > `/build/tbm/fbreader-0.8.14/zlibrary/ui/src/maemo/optionView'
> > make[2]: Entering directory
> > `/build/tbm/fbreader-0.8.14/zlibrary/ui/src/maemo/view'
> > Compiling ZLGtkPaintContext.o ...ZLGtkPaintContext.cpp: In member function
> > 'virtual void
> > ZLGtkPaintContext::fillFamiliesList(std::vector<std::basic_string<char,
> > std::char_traits<char>, std::allocator<char> >,
> > std::allocator<std::basic_string<char, std::char_traits<char>,
> > std::allocator<char> > > >&) const':
> > ZLGtkPaintContext.cpp:132: error: 'sort' is not a member of 'std'
> > make[2]: *** [ZLGtkPaintContext.o] Error 1
> > make[2]: Leaving directory
> > `/build/tbm/fbreader-0.8.14/zlibrary/ui/src/maemo/view'
> > make[1]: *** [.objects] Error 1
> > make[1]: Leaving directory `/build/tbm/fbreader-0.8.14/zlibrary/ui'
>
> --
> Martin Michlmayr
> http://www.cyrius.com/
>
>
--
see shy jo
diff --git a/debian/changelog b/debian/changelog
index 95748ba..b6ffa4d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+fbreader (0.8.14-2) UNRELEASED; urgency=low
+
+ * Fix missing include in maemo UI to allow building with gcc 4.3.
+ Closes: #466756
+
+ -- Joey Hess <[EMAIL PROTECTED]> Wed, 20 Feb 2008 18:23:50 -0500
+
fbreader (0.8.14-1) unstable; urgency=low
* New Upstream Version
diff --git a/zlibrary/ui/src/maemo/view/ZLGtkPaintContext.cpp
b/zlibrary/ui/src/maemo/view/ZLGtkPaintContext.cpp
index 0aa8efd..6c1ab34 100644
--- a/zlibrary/ui/src/maemo/view/ZLGtkPaintContext.cpp
+++ b/zlibrary/ui/src/maemo/view/ZLGtkPaintContext.cpp
@@ -17,6 +17,7 @@
* 02110-1301, USA.
*/
+#include <algorithm>
#include <ZLUnicodeUtil.h>
#include <ZLImage.h>
signature.asc
Description: Digital signature
--- End Message ---