summaryrefslogtreecommitdiff
path: root/package/boost/patches/patch-boost_cstdint_hpp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-02 13:06:50 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-02 13:06:50 +0200
commit984ea37e4ecdc7fb5e277bf5a045af73b5204791 (patch)
treeab106aa77066da3ff699b0421ade63d2e15a9dec /package/boost/patches/patch-boost_cstdint_hpp
parent9c99c075a925519eb073744d9cbdaee596abb4ab (diff)
parent771da6d340f447a74dd9306c866219a5e5b85b0d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/boost/patches/patch-boost_cstdint_hpp')
-rw-r--r--package/boost/patches/patch-boost_cstdint_hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/boost/patches/patch-boost_cstdint_hpp b/package/boost/patches/patch-boost_cstdint_hpp
new file mode 100644
index 000000000..5b09e892b
--- /dev/null
+++ b/package/boost/patches/patch-boost_cstdint_hpp
@@ -0,0 +1,14 @@
+--- boost_1_54_0.orig/boost/cstdint.hpp 2013-03-09 23:55:05.000000000 +0100
++++ boost_1_54_0/boost/cstdint.hpp 2013-09-19 16:46:42.000000000 +0200
+@@ -41,7 +41,10 @@
+ // so we disable use of stdint.h when GLIBC does not define __GLIBC_HAVE_LONG_LONG.
+ // 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.
+ # ifdef __hpux