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:
parent
158294ac3c
commit
d65d7fb1ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379423
14
devel/ptlib/files/patch-include_ptlib_critsec.h
Normal file
14
devel/ptlib/files/patch-include_ptlib_critsec.h
Normal 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
|
Loading…
Reference in New Issue
Block a user