fix for pbuilder gcc 4.6 error on prtdiff
authorOlivier Sallou <osallou@debian.org>
Mon, 2 May 2011 13:20:09 +0000 (13:20 +0000)
committerOlivier Sallou <osallou@debian.org>
Mon, 2 May 2011 13:20:09 +0000 (13:20 +0000)
debian/patches/fix_ptrdiff_gliberr [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/fix_ptrdiff_gliberr b/debian/patches/fix_ptrdiff_gliberr
new file mode 100644 (file)
index 0000000..dac5bb2
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/src/corelib/ncbi_stack_linux.cpp
++++ b/src/corelib/ncbi_stack_linux.cpp
+@@ -32,6 +32,7 @@
+ #include <ncbi_pch.hpp>
+ #include <execinfo.h>
+ #if NCBI_COMPILER_VERSION >= 310
++#include <cstddef>
+ #  include <cxxabi.h>
+ #endif
+ #include <vector>
index 45ff98b8d55760fae5e708ff202010daa1c2e3bc..9e7a7923e008c82c0e39ee7c3e927393567bc76c 100644 (file)
@@ -1 +1,2 @@
 fix_checks
+fix_ptrdiff_gliberr