From 830a7f44cfa0571d57a7c7f1ffee1c12c2142452 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Sat, 27 Jul 2013 11:41:56 +0200 Subject: [PATCH] Add forgotten boost-1.54.0-__GLIBC_HAVE_LONG_LONG.patch --- boost-1.54.0-__GLIBC_HAVE_LONG_LONG.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 boost-1.54.0-__GLIBC_HAVE_LONG_LONG.patch diff --git a/boost-1.54.0-__GLIBC_HAVE_LONG_LONG.patch b/boost-1.54.0-__GLIBC_HAVE_LONG_LONG.patch new file mode 100644 index 0000000..4025b9f --- /dev/null +++ b/boost-1.54.0-__GLIBC_HAVE_LONG_LONG.patch @@ -0,0 +1,22 @@ +diff -up boost_1_54_0/boost/cstdint.hpp\~ boost_1_54_0/boost/cstdint.hpp +--- boost_1_54_0/boost/cstdint.hpp~ 2013-03-09 14:55:05.000000000 -0800 ++++ boost_1_54_0/boost/cstdint.hpp 2013-07-15 13:19:07.344108660 -0700 +@@ -41,7 +41,15 @@ + // 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)) ++// This define has been dropped altogether in GLIBC 2.17. As of then, ++// support for long long is part of baseline requirements, and ++// [u]int64_t is always defined. See here: ++// http://sourceware.org/ml/libc-alpha/2013-01/msg00440.html ++// ++#if defined(BOOST_HAS_STDINT_H) \ ++ && (!defined(__GLIBC__) \ ++ || defined(__GLIBC_HAVE_LONG_LONG) \ ++ || (defined __GLIBC_PREREQ && __GLIBC_PREREQ(2,17))) + + // The following #include is an implementation artifact; not part of interface. + # ifdef __hpux + +Diff finished. Mon Jul 15 13:19:50 2013