aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2007-07-09 14:27:45 +0800
committerbarner <barner@FreeBSD.org>2007-07-09 14:27:45 +0800
commit9a790a6cd551e8fbda7cc8485a5d77c44ca50d07 (patch)
tree2cc93e597d010753f96a62a424a6fee6b1f8e753
parent700511e740b224bfd83202246543f0ca2345879c (diff)
downloadfreebsd-ports-gnome-9a790a6cd551e8fbda7cc8485a5d77c44ca50d07.tar.gz
freebsd-ports-gnome-9a790a6cd551e8fbda7cc8485a5d77c44ca50d07.tar.zst
freebsd-ports-gnome-9a790a6cd551e8fbda7cc8485a5d77c44ca50d07.zip
- 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
-rw-r--r--www/openvrml/files/patch-test_node_interface_set.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/openvrml/files/patch-test_node_interface_set.cpp b/www/openvrml/files/patch-test_node_interface_set.cpp
new file mode 100644
index 000000000000..4ccbadb92f79
--- /dev/null
+++ b/www/openvrml/files/patch-test_node_interface_set.cpp
@@ -0,0 +1,8 @@
+--- 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>
+