summaryrefslogtreecommitdiff
path: root/extra/boost/fix-new-glibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/boost/fix-new-glibc.patch')
-rw-r--r--extra/boost/fix-new-glibc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/boost/fix-new-glibc.patch b/extra/boost/fix-new-glibc.patch
new file mode 100644
index 000000000..5daa11cf5
--- /dev/null
+++ b/extra/boost/fix-new-glibc.patch
@@ -0,0 +1,14 @@
+Index: /trunk/boost/cstdint.hpp
+===================================================================
+--- /trunk/boost/cstdint.hpp (revision 84805)
++++ /trunk/boost/cstdint.hpp (revision 84950)
+@@ -42,5 +42,8 @@
+ // See https://svn.boost.org/trac/boost/ticket/3548 and http://sources.redhat.com/bugzilla/show_bug.cgi?id=10990
+ //
+-#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG))
++#if defined(BOOST_HAS_STDINT_H) \
++ && (!defined(__GLIBC__) \
++ || defined(__GLIBC_HAVE_LONG_LONG) \
++ || (defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 17)))))
+
+ // The following #include is an implementation artifact; not part of interface.