[boost] Update the attribute patch

Petr Machata pmachata at fedoraproject.org
Fri Feb 8 00:42:51 UTC 2013


commit 45355f8107511278dfde8b426045db23d5db5dba
Author: Petr Machata <pmachata at redhat.com>
Date:   Fri Feb 8 01:04:38 2013 +0100

    Update the attribute patch

 boost-1.53.0-attribute.patch |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/boost-1.53.0-attribute.patch b/boost-1.53.0-attribute.patch
index 84d09e4..e17f9e7 100644
--- a/boost-1.53.0-attribute.patch
+++ b/boost-1.53.0-attribute.patch
@@ -43,15 +43,15 @@ diff -urp boost_1_48_0~/boost/optional/optional.hpp boost_1_48_0/boost/optional/
  #endif
      dummy_u
      {
-diff -urp boost_1_48_0~/boost/random/detail/integer_log2.hpp boost_1_48_0/boost/random/detail/integer_log2.hpp
---- boost_1_48_0~/boost/random/detail/integer_log2.hpp	2012-01-16 16:15:24.962239810 +0100
-+++ boost_1_48_0/boost/random/detail/integer_log2.hpp	2012-01-16 16:17:44.104242884 +0100
+diff -up /home/ant/rpm/BUILD/boost_1_53_0/boost/random/detail/integer_log2.hpp\~ /home/ant/rpm/BUILD/boost_1_53_0/boost/random/detail/integer_log2.hpp
+--- boost_1_53_0/boost/random/detail/integer_log2.hpp~	2013-01-25 18:06:07.000000000 +0100
++++ boost_1_53_0/boost/random/detail/integer_log2.hpp	2013-02-07 17:37:53.000000000 +0100
 @@ -27,7 +27,7 @@ namespace detail {
  #elif defined(BOOST_MSVC)
  #define BOOST_RANDOM_DETAIL_CONSTEXPR __forceinline
  #elif defined(__GNUC__) && __GNUC__ >= 4
--#define BOOST_RANDOM_DETAIL_CONSTEXPR __attribute__((const)) __attribute__((always_inline))
-+#define BOOST_RANDOM_DETAIL_CONSTEXPR __attribute__((__const__)) __attribute__((__always_inline__))
+-#define BOOST_RANDOM_DETAIL_CONSTEXPR inline __attribute__((const)) __attribute__((always_inline))
++#define BOOST_RANDOM_DETAIL_CONSTEXPR inline __attribute__((__const__)) __attribute__((__always_inline__))
  #else
  #define BOOST_RANDOM_DETAIL_CONSTEXPR inline
  #endif


More information about the scm-commits mailing list