svn commit: r430267 - head/devel/cpp-netlib/files

Jan Beich jbeich at FreeBSD.org
Sun Jan 1 18:34:32 UTC 2017


Author: jbeich
Date: Sun Jan  1 18:34:31 2017
New Revision: 430267
URL: https://svnweb.freebsd.org/changeset/ports/430267

Log:
  devel/cpp-netlib: unbreak with boost 1.63
  
  CMakeFiles/mime-roundtrip.dir/mime-roundtrip.cpp.o: In function `main':
  libs/mime/test/mime-roundtrip.cpp:(.text+0x16d7a): undefined reference to `init_unit_test()'
  
  PR:		215598
  Reported by:	antoine (via exp-run)
  Approved by:	portmgr blanket

Added:
  head/devel/cpp-netlib/files/
  head/devel/cpp-netlib/files/patch-libs_mime_test_mime-roundtrip.cpp   (contents, props changed)

Added: head/devel/cpp-netlib/files/patch-libs_mime_test_mime-roundtrip.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cpp-netlib/files/patch-libs_mime_test_mime-roundtrip.cpp	Sun Jan  1 18:34:31 2017	(r430267)
@@ -0,0 +1,14 @@
+Reduce namespace pollution from #undef BOOST_TEST_DYN_LINK after
+https://github.com/boostorg/test/commit/86bcffea6dfb
+
+--- libs/mime/test/mime-roundtrip.cpp.orig	2015-08-27 05:04:59 UTC
++++ libs/mime/test/mime-roundtrip.cpp
+@@ -16,7 +16,7 @@
+ #ifdef BOOST_TEST_DYN_LINK
+ #define BOOST_TEST_ALTERNATIVE_INIT_API
+ #endif
+-#include <boost/test/included/unit_test.hpp>
++#include <boost/test/unit_test.hpp>
+ 
+ #include <fstream>
+ #include <iostream>


More information about the svn-ports-all mailing list