Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2017 18:34:31 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430267 - head/devel/cpp-netlib/files
Message-ID:  <201701011834.v01IYVdp030433@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701011834.v01IYVdp030433>