1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

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
This commit is contained in:
John Marino 2015-02-20 13:04:49 +00:00
parent 158294ac3c
commit d65d7fb1ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379423

View File

@ -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