From owner-svn-ports-head@freebsd.org Wed Oct 19 20:29:07 2016 Return-Path: Delivered-To: svn-ports-head@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 62301C1859D; Wed, 19 Oct 2016 20:29:07 +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 33D2D29A; Wed, 19 Oct 2016 20:29:07 +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 u9JKT6lb027496; Wed, 19 Oct 2016 20:29:06 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9JKT65X027494; Wed, 19 Oct 2016 20:29:06 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201610192029.u9JKT65X027494@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 19 Oct 2016 20:29:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424288 - in head/devel/libgrading: . 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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2016 20:29:07 -0000 Author: amdmi3 Date: Wed Oct 19 20:29:06 2016 New Revision: 424288 URL: https://svnweb.freebsd.org/changeset/ports/424288 Log: - Mark BROKEN on 9.x: doesn't build due to lacking c++11 support - Fix build on 10.1, don't try to use missing sys/capsicum.h Approved by: portmgr blanket Added: head/devel/libgrading/files/ head/devel/libgrading/files/patch-src_posix.cpp (contents, props changed) Modified: head/devel/libgrading/Makefile Modified: head/devel/libgrading/Makefile ============================================================================== --- head/devel/libgrading/Makefile Wed Oct 19 20:28:17 2016 (r424287) +++ head/devel/libgrading/Makefile Wed Oct 19 20:29:06 2016 (r424288) @@ -12,10 +12,12 @@ LICENSE= APACHE20 LIB_DEPENDS= libdistance.so:devel/libdistance +BROKEN_FreeBSD_9= does not build (lack of std::to_string) + USE_GITHUB= yes GH_ACCOUNT= trombonehero -USES= cmake +USES= cmake compiler:c++11-lib USE_LDCONFIG= yes PLIST_FILES= include/libgrading.h \ Added: head/devel/libgrading/files/patch-src_posix.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libgrading/files/patch-src_posix.cpp Wed Oct 19 20:29:06 2016 (r424288) @@ -0,0 +1,14 @@ +--- src/posix.cpp.orig 2016-09-19 18:47:05 UTC ++++ src/posix.cpp +@@ -186,6 +186,11 @@ TestResult grading::ForkTest(TestClosure + + + #ifdef __FreeBSD__ ++#include ++#endif ++ ++#if defined(__FreeBSD__) && __FreeBSD_version >= 1001511 ++ + #include + + #include