Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2015 13:04:50 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379423 - head/devel/ptlib/files
Message-ID:  <201502201304.t1KD4oRS054575@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <ext/atomicity.h>
+-#  else
+-#     include <bits/atomicity.h>
+-#  endif
+ #endif
+ 
+ #if P_NEEDS_GNU_CXX_NAMESPACE



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