tag 455279 patch thanks Martin Michlmayr <[EMAIL PROTECTED]> (09/12/2007): > Package: openvrml > Version: 0.15.10-9 > Usertags: ftbfs-gcc-4.3
Hi Sam, please find attached a patch to fix this FTBFS. Note that there's a bug in boost headers, which is workarounded here. Cheers, -- Cyril Brulebois
--- a/lib/antlr/antlr/CharScanner.hpp
+++ b/lib/antlr/antlr/CharScanner.hpp
@@ -32,6 +32,8 @@
#include <antlr/BitSet.hpp>
#include <antlr/LexerSharedInputState.hpp>
+#include <cstring>
+
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr {
#endif
--- a/mozilla-plugin/src/openvrml-player/player.cpp
+++ b/mozilla-plugin/src/openvrml-player/player.cpp
@@ -18,6 +18,9 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
+// Needs to be included before boost/* because of a bug there.
+#include <climits>
+
# include <cstdlib>
# include <boost/lexical_cast.hpp>
# include <boost/spirit.hpp>
--- a/mozilla-plugin/src/openvrml.cpp
+++ b/mozilla-plugin/src/openvrml.cpp
@@ -18,6 +18,9 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
+// Needs to be included before boost/* because of a bug there.
+#include <climits>
+
# include <cerrno>
# include <iostream>
# include <list>
--- a/src/libopenvrml/openvrml/browser.cpp
+++ b/src/libopenvrml/openvrml/browser.cpp
@@ -24,6 +24,9 @@
# include <config.h>
# endif
+// Needs to be included before boost/* because of a bug there.
+#include <climits>
+
# include <cstdlib>
# include <cctype>
# include <cstring>
signature.asc
Description: Digital signature

