From owner-svn-ports-all@freebsd.org Tue Feb 9 14:59:57 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A22E5AA36FC; Tue, 9 Feb 2016 14:59:57 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 745E518BF; Tue, 9 Feb 2016 14:59:57 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u19Exus2053656; Tue, 9 Feb 2016 14:59:56 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u19Exu3Q053655; Tue, 9 Feb 2016 14:59:56 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201602091459.u19Exu3Q053655@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 9 Feb 2016 14:59:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408572 - head/textproc/luceneplusplus/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 14:59:57 -0000 Author: amdmi3 Date: Tue Feb 9 14:59:56 2016 New Revision: 408572 URL: https://svnweb.freebsd.org/changeset/ports/408572 Log: - Fix build with boost 1.60 PR: 199601 Approved by: portmgr blanket Added: head/textproc/luceneplusplus/files/patch-include_VariantUtils.h (contents, props changed) Added: head/textproc/luceneplusplus/files/patch-include_VariantUtils.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/luceneplusplus/files/patch-include_VariantUtils.h Tue Feb 9 14:59:56 2016 (r408572) @@ -0,0 +1,26 @@ +Obtained from: + + https://github.com/luceneplusplus/LucenePlusPlus/commit/1987082cf9278a639d772b4f35a8ae2d34944177 + +--- include/VariantUtils.h.orig 2015-01-30 16:14:22 UTC ++++ include/VariantUtils.h +@@ -8,6 +8,7 @@ + #define VARIANTUTILS_H + + #include ++#include + #include "Lucene.h" + #include "MiscUtils.h" + +@@ -22,7 +23,11 @@ public: + + template + static TYPE get(VAR var) { ++#if BOOST_VERSION < 105800 + return var.type() == typeid(TYPE) ? boost::get(var) : TYPE(); ++#else ++ return var.type() == typeid(TYPE) ? boost::relaxed_get(var) : TYPE(); ++#endif + } + + template