[packages/boost] rediff patches

atler atler at pld-linux.org
Sun Feb 28 10:13:15 CET 2021


commit ffdbc5e996c1303b2c100d5211948eb3f5f7ff43
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Feb 28 10:10:59 2021 +0100

    rediff patches

 boost-1.54.0-mpi-unused_typedef.patch | 4 ++--
 boost-1.54.0-mpl-print.patch          | 2 +-
 boost-clean-gcc-flags.patch           | 6 +++---
 boost-link.patch                      | 2 +-
 boost-python-abi_letters.patch        | 4 ++--
 5 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/boost-1.54.0-mpi-unused_typedef.patch b/boost-1.54.0-mpi-unused_typedef.patch
index 3a01d61..ee39f32 100644
--- a/boost-1.54.0-mpi-unused_typedef.patch
+++ b/boost-1.54.0-mpi-unused_typedef.patch
@@ -3,9 +3,9 @@ diff -urp boost_1_54_0-orig/libs/mpi/src/communicator.cpp boost_1_54_0/libs/mpi/
 +++ boost_1_54_0/libs/mpi/src/communicator.cpp	2013-07-23 00:50:40.722961078 +0200
 @@ -118,7 +118,6 @@ optional<status> communicator::iprobe(in
  
- status communicator::probe(int source, int tag) const
+ optional<status> communicator::iprobe(int source, int tag) const
  {
 -  typedef optional<status> result_type;
  
    status stat;
-   BOOST_MPI_CHECK_RESULT(MPI_Probe,
+   int flag;
diff --git a/boost-1.54.0-mpl-print.patch b/boost-1.54.0-mpl-print.patch
index cbd1493..ea56c09 100644
--- a/boost-1.54.0-mpl-print.patch
+++ b/boost-1.54.0-mpl-print.patch
@@ -10,7 +10,7 @@ Index: boost/mpl/print.hpp
 +#endif
  {
  #if defined(__clang__)
-     const int m_x = 1 / (sizeof(T) - sizeof(T));
+ # pragma clang diagnostic push
 @@ -52,15 +52,14 @@
      enum { n = sizeof(T) + -1 };
  #elif defined(__MWERKS__)
diff --git a/boost-clean-gcc-flags.patch b/boost-clean-gcc-flags.patch
index 3f10843..daa2712 100644
--- a/boost-clean-gcc-flags.patch
+++ b/boost-clean-gcc-flags.patch
@@ -26,7 +26,7 @@
  toolset.flags gcc.compile OPTIONS <inlining>off  : -fno-inline ;
  toolset.flags gcc.compile OPTIONS <inlining>on   : -Wno-inline ;
 @@ -637,8 +632,8 @@
- toolset.flags gcc.compile OPTIONS <warnings>all : -Wall -pedantic ;
+ toolset.flags gcc.compile OPTIONS <warnings>pedantic : -Wall -Wextra -pedantic ;
  toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : -Werror ;
  
 -toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
@@ -34,8 +34,8 @@
 +toolset.flags gcc.compile OPTIONS <debug-symbols>on : ;
 +toolset.flags gcc.compile OPTIONS <profiling>on : ;
  
- toolset.flags gcc.compile.c++ OPTIONS <rtti>off : -fno-rtti ;
- toolset.flags gcc.compile.c++ OPTIONS <exception-handling>off : -fno-exceptions ;
+ toolset.flags gcc.compile OPTIONS <local-visibility>hidden : -fvisibility=hidden ;
+ toolset.flags gcc.compile.c++ OPTIONS <local-visibility>hidden : -fvisibility-inlines-hidden ;
 @@ -1069,7 +1064,7 @@
  # x86 and compatible
  # The 'native' option appeared in gcc 4.2 so we cannot safely use it as default.
diff --git a/boost-link.patch b/boost-link.patch
index 72f0867..f934349 100644
--- a/boost-link.patch
+++ b/boost-link.patch
@@ -17,4 +17,4 @@
 +            : $(usage-requirements) <library>python.lib
              ;
      }
-     
+ 
diff --git a/boost-python-abi_letters.patch b/boost-python-abi_letters.patch
index 7df3ee7..7e25618 100644
--- a/boost-python-abi_letters.patch
+++ b/boost-python-abi_letters.patch
@@ -49,8 +49,8 @@
      extension-suffix ?= "" ;
 +    abi-letters ?= "" ;
  
-     # Normalize and dissect any version number.
-     local major-minor ;
+     local cmds-to-try ;
+ 
 @@ -922,7 +923,7 @@ local rule configure ( version ? : cmd-o
      }
      else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/boost.git/commitdiff/981ddd5cf8f021f2c04c6018fecb7aa6001fb512



More information about the pld-cvs-commit mailing list