freebsd-ports/www/openvrml/files/patch-test_node_interface_set.cpp
Simon Barner e8b40ab830 - Fix build with boost 1.34.0: The Boost unit test framework shared library
no longer contains main(), so set the right #defines.

  Reference: http://lists.boost.org/boost-users/2007/04/27361.php
- Notified by:	pointyhat via pav
2007-07-09 06:27:45 +00:00

8 lines
262 B
C++

--- tests/node_interface_set.cpp.orig Sun Jul 8 23:24:35 2007
+++ tests/node_interface_set.cpp Sun Jul 8 23:23:24 2007
@@ -1,3 +1,5 @@
+# define BOOST_TEST_DYN_LINK
+# define BOOST_TEST_MAIN
# include <boost/test/unit_test.hpp>
# include <openvrml/node.h>