tag 454864 patch thanks Martin Michlmayr <[EMAIL PROTECTED]> (07/12/2007): > Package: prestimel > Version: 1:1.0-3.2 > Usertags: ftbfs-gcc-4.3
Hi, please find attached a patch for this FTBFS. A variant would be to add a cstring include in src/main.h (after fstream, iostream), but that include is not needed everywhere main.h gets included. Your call. Cheers, -- Cyril Brulebois
--- a/src/contentnode.cc +++ b/src/contentnode.cc @@ -28,6 +28,8 @@ #include "outputfilter.h" #include "contentnode.h" +#include <cstring> + //--------------------------------------------------------------------------- ContentNode::ContentNode(xmlNodePtr node, --- a/src/enumeratenode.cc +++ b/src/enumeratenode.cc @@ -41,6 +41,8 @@ #include "itemizenode.h" #include "enumeratenode.h" +#include <cstring> + // The following macros are used to provide an easy handling, // if the apropriate propertiy isn't given in the XML-file. --- a/src/gridnode.cc +++ b/src/gridnode.cc @@ -47,6 +47,8 @@ #include "enumeratenode.h" #include "gridnode.h" +#include <cstring> + // The following macros are used to provide an easy handling, // if the apropriate property isn't given in the XML-file. --- a/src/htmlnode.cc +++ b/src/htmlnode.cc @@ -43,6 +43,8 @@ #include "parameters.h" #include "htmlnode.h" +#include <cstring> + //--------------------------------------------------------------------------- HTMLNode::HTMLNode(xmlNodePtr node) : Node() --- a/src/imagenode.cc +++ b/src/imagenode.cc @@ -40,6 +40,8 @@ #include "imgnode.h" #include "imagenode.h" +#include <cstring> + // The following macro is used to provide an easy handling, // if the apropriate property isn't given in the XML-file. --- a/src/inlinenode.cc +++ b/src/inlinenode.cc @@ -34,6 +34,8 @@ #include "urlnode.h" #include "anode.h" +#include <cstring> + //--------------------------------------------------------------------------- InlineNode::InlineNode() : Node() --- a/src/itemizenode.cc +++ b/src/itemizenode.cc @@ -40,6 +40,8 @@ #include "itemizenode.h" #include "enumeratenode.h" +#include <cstring> + // The following macros are used to provide an easy handling, // if the apropriate property isn't given in the XML-file. --- a/src/latexnode.cc +++ b/src/latexnode.cc @@ -36,6 +36,8 @@ #include "parameters.h" #include "latexnode.h" +#include <cstring> + //--------------------------------------------------------------------------- LaTeXNode::LaTeXNode(xmlNodePtr node) : Node() --- a/src/main.cc +++ b/src/main.cc @@ -92,6 +92,8 @@ #include "parameters.h" #include "presentation.h" +#include <cstring> + char Buffer_[BUFFER_SIZE]; --- a/src/parameters.cc +++ b/src/parameters.cc @@ -58,6 +58,8 @@ #include <Magick++.h> +#include <cstring> + //--------------------------------------------------------------------------- Parameters::Parameters() --- a/src/presentation.cc +++ b/src/presentation.cc @@ -91,6 +91,8 @@ #include "parameters.h" #include "presentation.h" +#include <cstring> + //--------------------------------------------------------------------------- Presentation::Presentation() : Node() --- a/src/sectionnode.cc +++ b/src/sectionnode.cc @@ -38,6 +38,8 @@ #include "slidenode.h" #include "sectionnode.h" +#include <cstring> + //--------------------------------------------------------------------------- SectionNode::SectionNode(xmlNodePtr node) : Node() --- a/src/slidenode.cc +++ b/src/slidenode.cc @@ -73,6 +73,8 @@ #include "presentation.h" #include "parameters.h" +#include <cstring> + // The following macro is used to provide an easy handling, // if the apropriate property isn't given in the XML-file. --- a/src/textnode.cc +++ b/src/textnode.cc @@ -43,6 +43,8 @@ #include "anode.h" #include "textnode.h" +#include <cstring> + //--------------------------------------------------------------------------- TextNode::TextNode(xmlNodePtr node, --- a/src/titlenode.cc +++ b/src/titlenode.cc @@ -50,6 +50,8 @@ #include "datenode.h" #include "titlenode.h" +#include <cstring> + //--------------------------------------------------------------------------- TitleNode::TitleNode(xmlNodePtr node) : SlideNode(node)
signature.asc
Description: Digital signature