Bug#778074: Patch for GCC 5 build issue

2015-06-26 Thread Martin Michlmayr
* Eugen Dedu eugen.d...@univ-fcomte.fr [2015-06-26 12:23]:
 Thank you very much, I have uploaded it.  I forgot to add your name in the
 changelog, sorry.

No problem.  Thanks for the quick fix!

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778074: Patch for GCC 5 build issue

2015-06-26 Thread Eugen Dedu

On 25/06/15 19:27, Martin Michlmayr wrote:

tags 778074 + patch
thanks

Here's a patch for the GCC 5 build issue.

Sorry, I'm not sure how best to send patches for packages using quilt.

BTW, it seems this issue is no longer present upstream:
   svn ls svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk/include/ptlib/ | 
grep crit
It seems this is properly handled in configure now.


Thank you very much, I have uploaded it.  I forgot to add your name in 
the changelog, sorry.


Kind regards,
--
Eugen


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778074: Patch for GCC 5 build issue

2015-06-25 Thread Martin Michlmayr
tags 778074 + patch
thanks

Here's a patch for the GCC 5 build issue.

Sorry, I'm not sure how best to send patches for packages using quilt.

BTW, it seems this issue is no longer present upstream:
  svn ls svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk/include/ptlib/ | 
grep crit
It seems this is properly handled in configure now.

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard
diff -urN a/debian/patches/gcc-5_support b/debian/patches/gcc-5_support
--- a/debian/patches/gcc-5_support	1970-01-01 00:00:00.0 +
+++ b/debian/patches/gcc-5_support	2015-06-25 17:20:02.0 +
@@ -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 -urN a/debian/patches/series b/debian/patches/series
--- a/debian/patches/series	2014-10-08 02:18:13.0 +
+++ b/debian/patches/series	2015-06-25 17:19:36.0 +
@@ -1,3 +1,4 @@
 hurd-fix
 bison-fix
 ppc64el-arm64-mips64.diff
+gcc-5_support