svn commit: r379423 - head/devel/ptlib/files
John Marino
marino at FreeBSD.org
Fri Feb 20 13:04:51 UTC 2015
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
More information about the svn-ports-all
mailing list