c4c5b186af
* boost-glibc-2.18.patch - taken from upstream scm OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=107
16 lines
856 B
Diff
16 lines
856 B
Diff
diff -urN boost_1_53_0/boost/cstdint.hpp boost_1_53_0.new/boost/cstdint.hpp
|
|
--- boost_1_53_0/boost/cstdint.hpp 2012-12-11 15:42:26.000000000 +0100
|
|
+++ boost_1_53_0.new/boost/cstdint.hpp 2013-08-18 21:52:30.861956037 +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
|