[Pkg-voip-commits] [ptlib] 04/06: Imported Debian patch 2.10.10~dfsg-5
Victor Seva Lopez
maniac-guest at moszumanska.debian.org
Sun Aug 16 06:23:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
maniac-guest pushed a commit to branch master
in repository ptlib.
commit 7a1e56aa86759cd85fcd5d4c71fa7642846ffc89
Author: Eugen Dedu <Eugen.Dedu at pu-pm.univ-fcomte.fr>
Date: Thu Jun 26 09:50:49 2014 +0100
Imported Debian patch 2.10.10~dfsg-5
---
debian/changelog | 6 ++++++
debian/patches/gcc-5_support | 13 +++++++++++++
debian/patches/series | 1 +
3 files changed, 20 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 1d85dbe..1f30afc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ptlib (2.10.10~dfsg-5) unstable; urgency=medium
+
+ * patches/gcc-5_support: Fix FTBS with GCC 5 (Closes: Bug#778074).
+
+ -- Eugen Dedu <Eugen.Dedu at pu-pm.univ-fcomte.fr> Fri, 26 Jun 2014 09:50:49 +0100
+
ptlib (2.10.10~dfsg-4.1) unstable; urgency=low
* Non-mantainer upload.
diff --git a/debian/patches/gcc-5_support b/debian/patches/gcc-5_support
new file mode 100644
index 0000000..51ad209
--- /dev/null
+++ b/debian/patches/gcc-5_support
@@ -0,0 +1,13 @@
+Index: ptlib-2.10.10~dfsg/include/ptlib/critsec.h
+===================================================================
+--- ptlib-2.10.10~dfsg.orig/include/ptlib/critsec.h
++++ ptlib-2.10.10~dfsg/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>
diff --git a/debian/patches/series b/debian/patches/series
index b856590..fcd2271 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
hurd-fix
bison-fix
ppc64el-arm64-mips64.diff
+gcc-5_support
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/ptlib.git
More information about the Pkg-voip-commits
mailing list