]> git.pld-linux.org Git - packages/boost.git/commitdiff
- added stdint patch (fixes stdint.h/uintptr_t issue with glibc 2.18+)
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 14 Sep 2013 13:56:41 +0000 (15:56 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 14 Sep 2013 13:56:41 +0000 (15:56 +0200)
- release 2

boost-stdint.patch [new file with mode: 0644]
boost.spec

diff --git a/boost-stdint.patch b/boost-stdint.patch
new file mode 100644 (file)
index 0000000..5daa11c
--- /dev/null
@@ -0,0 +1,14 @@
+Index: /trunk/boost/cstdint.hpp\r
+===================================================================\r
+--- /trunk/boost/cstdint.hpp   (revision 84805)\r
++++ /trunk/boost/cstdint.hpp   (revision 84950)\r
+@@ -42,5 +42,8 @@\r
+ // See https://svn.boost.org/trac/boost/ticket/3548 and http://sources.redhat.com/bugzilla/show_bug.cgi?id=10990\r
+ //\r
+-#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG))\r
++#if defined(BOOST_HAS_STDINT_H)                                       \\r
++  && (!defined(__GLIBC__)                                     \\r
++      || defined(__GLIBC_HAVE_LONG_LONG)                      \\r
++      || (defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 17)))))\r
\r
+ // The following #include is an implementation artifact; not part of interface.\r
index 41604203fd96f70a112828b075e9050d6ff3209b..fc35a1447c1d024f96632ed702973bec65fa5bbd 100644 (file)
@@ -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.
This page took 0.151278 seconds and 4 git commands to generate.