* Stefano Zacchiroli <[EMAIL PROTECTED]> [2007-12-29 20:56]:
> Alternatively, if you can divine a working patch for gdome2-xslt out of
> the box, I'll be happy to apply it.

Below is a patch.  You can argue whether it's necessary at all because
after fixing the
/usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOMTraits.hh header
(which needs a #include <cstring>) gdome2-xslt will compile since it
includes that header.

However, since C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.cc makes use
of strdup, I think it should directly include cstring itself.

--- C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.cc~      2007-12-29 
21:21:13.000000000 +0000
+++ C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.cc       2007-12-29 
21:21:28.000000000 +0000
@@ -23,6 +23,7 @@
 #include "config.h"
 
 #include <string>
+#include <cstring>
 #include <cassert>
 
 #include <stdio.h>


There's no other problem with 4.3.
-- 
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