diff options
author | markd <markd@pkgsrc.org> | 2015-06-29 21:06:14 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2015-06-29 21:06:14 +0000 |
commit | 5c204a16cbd74ff3ec4f0d6e168a55a6566e4d29 (patch) | |
tree | b9cdbb30151a526dd729a858a7032c71f75582ca /devel | |
parent | 9a5eea9cdb98b28b5974d92ee4fe333bb60ccade (diff) | |
download | pkgsrc-5c204a16cbd74ff3ec4f0d6e168a55a6566e4d29.tar.gz |
Fix build with gcc 5.x
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ptlib/distinfo | 3 | ||||
-rw-r--r-- | devel/ptlib/patches/patch-include_ptlib_critsec.h | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/ptlib/distinfo b/devel/ptlib/distinfo index bd3d580ea8f..37785107646 100644 --- a/devel/ptlib/distinfo +++ b/devel/ptlib/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2013/10/14 14:36:12 joerg Exp $ +$NetBSD: distinfo,v 1.19 2015/06/29 21:13:30 markd Exp $ SHA1 (ptlib-2.10.7.tar.xz) = 51077b76aed30ab614e31b2a18cb383848d4332c RMD160 (ptlib-2.10.7.tar.xz) = 0c05b57f5435f4646af05278e66718e0e433a10a @@ -8,6 +8,7 @@ SHA1 (patch-configure) = d05e68485a9cd3190410e7f4beb14ac44050d2cb SHA1 (patch-configure.ac) = f319f4a183a6fc6c59693f516d9c68921625158b SHA1 (patch-include_ptbuildopts.h.in) = 2b7ba6a6dbbe9480880652de774afbff346ce635 SHA1 (patch-include_ptclib_pldap.h) = ccb5b36a5afa7d1762e90eb9bfdb134066d2d84f +SHA1 (patch-include_ptlib_critsec.h) = 519cee6e56d1e5a33b88237536ff4d921d7d5c44 SHA1 (patch-include_ptlib_object.h) = 9ce0a2f333ab06ca17506481c2ae8b5b47441f85 SHA1 (patch-include_ptlib_pmachdep.h) = 92dd7b693dc8d10ffaee7a22f8a3f3a1526e55c2 SHA1 (patch-make_unix.mak) = 13d814a914b3bc4897a350f4393873b9b3a2b685 diff --git a/devel/ptlib/patches/patch-include_ptlib_critsec.h b/devel/ptlib/patches/patch-include_ptlib_critsec.h new file mode 100644 index 00000000000..a055e133f7b --- /dev/null +++ b/devel/ptlib/patches/patch-include_ptlib_critsec.h @@ -0,0 +1,13 @@ +$NetBSD: patch-include_ptlib_critsec.h,v 1.1 2015/06/29 21:13:30 markd Exp $ + +--- include/ptlib/critsec.h.orig 2012-08-23 02:13:00.000000000 +0000 ++++ include/ptlib/critsec.h +@@ -40,7 +40,7 @@ + #if P_HAS_ATOMIC_INT + + #if defined(__GNUC__) +-# if __GNUC__ >= 4 && __GNUC_MINOR__ >= 2 ++# if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2) || __GNUC__ >= 5 + # include <ext/atomicity.h> + # else + # include <bits/atomicity.h> |