From owner-svn-ports-all@FreeBSD.ORG Fri Feb 20 13:04:50 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA3F4A84; Fri, 20 Feb 2015 13:04:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 C54D077B; Fri, 20 Feb 2015 13:04:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1KD4oCJ054576; Fri, 20 Feb 2015 13:04:50 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1KD4oRS054575; Fri, 20 Feb 2015 13:04:50 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201502201304.t1KD4oRS054575@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Fri, 20 Feb 2015 13:04:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379423 - head/devel/ptlib/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.18-1 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: Fri, 20 Feb 2015 13:04:51 -0000 Author: marino Date: Fri Feb 20 13:04:49 2015 New Revision: 379423 URL: https://svnweb.freebsd.org/changeset/ports/379423 QAT: https://qat.redports.org/buildarchive/r379423/ Log: devel/ptlib: Fix support for gcc-5 The ptlib port has a bug in a macro condition. The condition wants to include a different c++ header if GCC 4.1 or below is used. Since this compiler doesn't exist in ports and is ancient, I'm just going to remove the check rather than fix it. This change fixes the build for the upcoming gcc-5 release. Approved by: just-fix-it blanket Added: head/devel/ptlib/files/patch-include_ptlib_critsec.h (contents, props changed) Added: head/devel/ptlib/files/patch-include_ptlib_critsec.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ptlib/files/patch-include_ptlib_critsec.h Fri Feb 20 13:04:49 2015 (r379423) @@ -0,0 +1,14 @@ +--- include/ptlib/critsec.h.orig 2013-02-20 02:12:17 UTC ++++ include/ptlib/critsec.h +@@ -40,11 +40,7 @@ + #if P_HAS_ATOMIC_INT + + #if defined(__GNUC__) +-# if __GNUC__ >= 4 && __GNUC_MINOR__ >= 2 + # include +-# else +-# include +-# endif + #endif + + #if P_NEEDS_GNU_CXX_NAMESPACE