freebsd-ports/www/openvrml/files/patch-mozilla-plugin_src_openvrml-player_player.cpp
Simon Barner e24f4f30df Fix build with Boost 1.33.0 by moving a conflicting boost headers a bit
up. The conflicting symbol was "None", which is definied in

${LOCALBASE}/include/boost/numeric/conversion/detail/converter.hpp and
${X11BASE}/include/X11/X.h

Reported by:	pointyhat via kris
2005-11-15 09:34:34 +00:00

19 lines
568 B
C++

--- mozilla-plugin/src/openvrml-player/player.cpp.orig Tue Nov 15 00:16:02 2005
+++ mozilla-plugin/src/openvrml-player/player.cpp Tue Nov 15 00:21:07 2005
@@ -22,14 +22,14 @@
# include <boost/lexical_cast.hpp>
# include <boost/spirit.hpp>
# include <boost/spirit/phoenix.hpp>
+# include <openvrml/browser.h>
+# include <openvrml/gl/viewer.h>
# include <unistd.h>
# include <argp.h>
# include <X11/keysym.h>
# include <gdk/gdkx.h>
# include <gtk/gtk.h>
# include <gtk/gtkgl.h>
-# include <openvrml/browser.h>
-# include <openvrml/gl/viewer.h>
namespace {