mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/boost: add patch
This commit is contained in:
parent
72236ac048
commit
a1a2404106
1 changed files with 14 additions and 0 deletions
14
extra/boost/fix-new-glibc.patch
Normal file
14
extra/boost/fix-new-glibc.patch
Normal file
|
@ -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.
|
Loading…
Reference in a new issue