Hi,

Attached is the diff for my openvrml 0.15.10-9.1 NMU.
diff -u openvrml-0.15.10/debian/patches/035_gcc_4_3_includes.diff 
openvrml-0.15.10/debian/patches/035_gcc_4_3_includes.diff
--- openvrml-0.15.10/debian/patches/035_gcc_4_3_includes.diff
+++ openvrml-0.15.10/debian/patches/035_gcc_4_3_includes.diff
@@ -1,7 +1,5 @@
-Index: openvrml-0.15.10/lib/antlr/src/CharScanner.cpp
-===================================================================
---- openvrml-0.15.10.orig/lib/antlr/src/CharScanner.cpp        2007-09-29 
21:15:09.000000000 +0000
-+++ openvrml-0.15.10/lib/antlr/src/CharScanner.cpp     2007-09-29 
21:15:36.000000000 +0000
+--- openvrml-0.15.10.orig/lib/antlr/src/CharScanner.cpp
++++ openvrml-0.15.10/lib/antlr/src/CharScanner.cpp
 @@ -5,6 +5,7 @@
   * $Id: CharScanner.cpp,v 1.1.1.2 2004/11/08 20:45:24 braden Exp $
   */
@@ -10,10 +8,8 @@
  #include <iostream>
  
  #include "antlr/CharScanner.hpp"
-Index: openvrml-0.15.10/lib/antlr/src/Parser.cpp
-===================================================================
---- openvrml-0.15.10.orig/lib/antlr/src/Parser.cpp     2007-09-29 
21:15:20.000000000 +0000
-+++ openvrml-0.15.10/lib/antlr/src/Parser.cpp  2007-09-29 21:15:50.000000000 
+0000
+--- openvrml-0.15.10.orig/lib/antlr/src/Parser.cpp
++++ openvrml-0.15.10/lib/antlr/src/Parser.cpp
 @@ -11,6 +11,7 @@
  #include "antlr/TokenBuffer.hpp"
  #include "antlr/MismatchedTokenException.hpp"
@@ -22,10 +18,8 @@
  #include <iostream>
  
  #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
-Index: openvrml-0.15.10/lib/antlr/src/TreeParser.cpp
-===================================================================
---- openvrml-0.15.10.orig/lib/antlr/src/TreeParser.cpp 2007-09-29 
21:15:17.000000000 +0000
-+++ openvrml-0.15.10/lib/antlr/src/TreeParser.cpp      2007-09-29 
21:15:45.000000000 +0000
+--- openvrml-0.15.10.orig/lib/antlr/src/TreeParser.cpp
++++ openvrml-0.15.10/lib/antlr/src/TreeParser.cpp
 @@ -10,6 +10,7 @@
  #include "antlr/MismatchedTokenException.hpp"
  #include <iostream>
@@ -36,0 +31,47 @@
+--- openvrml-0.15.10.orig/lib/antlr/antlr/CharScanner.hpp
++++ openvrml-0.15.10/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
+--- openvrml-0.15.10.orig/mozilla-plugin/src/openvrml.cpp
++++ openvrml-0.15.10/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>
+--- openvrml-0.15.10.orig/mozilla-plugin/src/openvrml-player/player.cpp
++++ openvrml-0.15.10/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>
+--- openvrml-0.15.10.orig/src/libopenvrml/openvrml/browser.cpp
++++ openvrml-0.15.10/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>
diff -u openvrml-0.15.10/debian/changelog openvrml-0.15.10/debian/changelog
--- openvrml-0.15.10/debian/changelog
+++ openvrml-0.15.10/debian/changelog
@@ -1,3 +1,11 @@
+openvrml (0.15.10-9.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update debian/patches/035_gcc_4_3_includes.diff with even more missing
+    includes, thanks to Cyril Brulebois (Closes: 455279).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Sun, 16 Mar 2008 21:08:48 +0000
+
 openvrml (0.15.10-9) unstable; urgency=low
 
   * debian/control:

Reply via email to