Sha256: c2a4f075924c205010e2339a72d31bc76f910a7451f432cd9a52fd40bf21475e

Contents?: true

Size: 1.17 KB

Versions: 34

Compression:

Stored size: 1.17 KB

Contents

diff -urp passenger-release-4.0.18.orig/ext/boost/cstdint.hpp passenger-release-4.0.18/ext/boost/cstdint.hpp
--- passenger-release-4.0.18.orig/ext/boost/cstdint.hpp	2013-09-17 13:47:54.000000000 -0500
+++ passenger-release-4.0.18/ext/boost/cstdint.hpp	2013-09-23 16:34:02.074450639 -0500
@@ -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
Only in passenger-release-4.0.18/ext/boost: cstdint.hpp.glibc-long

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
passenger-4.0.48 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.46 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.45 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.44 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.43 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.42 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.41 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.40 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.39 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.38 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.37 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.36 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.35 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch
passenger-4.0.34 rpm/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch