commit 15fc9c62ad279f92a92e4fa8ba022c1cda456502
Author: Jakub Bogusz <[email protected]>
Date:   Sat Sep 14 15:56:41 2013 +0200

    - added stdint patch (fixes stdint.h/uintptr_t issue with glibc 2.18+)
    - release 2

 boost-stdint.patch | 14 ++++++++++++++
 boost.spec         |  4 +++-
 2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/boost.spec b/boost.spec
index 4160420..fc35a14 100644
--- a/boost.spec
+++ b/boost.spec
@@ -11,12 +11,13 @@ Summary:    The Boost C++ Libraries
 Summary(pl.UTF-8):     Biblioteki C++ "Boost"
 Name:          boost
 Version:       1.54.0
-Release:       1
+Release:       2
 License:       Boost Software License and others
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/boost/%{name}_%{fver}.tar.bz2
 # Source0-md5: 15cb8c0803064faef0c4ddf5bc5ca279
 Patch0:                %{name}-link.patch
+Patch1:                %{name}-stdint.patch
 URL:           http://www.boost.org/
 BuildRequires: bzip2-devel
 BuildRequires: expat-devel
@@ -376,6 +377,7 @@ Dokumentacja dla biblioteki Boost C++.
 %prep
 %setup -q -n %{name}_%{fver}
 %patch0 -p1
+%patch1 -p2
 
 # - don't know how to pass it through (b)jam -s (no way?)
 #   due to oversophisticated build flags system.
diff --git a/boost-stdint.patch b/boost-stdint.patch
new file mode 100644
index 0000000..5daa11c
--- /dev/null
+++ b/boost-stdint.patch
@@ -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.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/boost.git/commitdiff/15fc9c62ad279f92a92e4fa8ba022c1cda456502

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to