Ticket #5853: patchfile.patch

File patchfile.patch, 2.7 KB (added by gshapiro@…, 11 years ago)

patch file for fixes to problem described in ticket

  • boost/detail/endian.hpp

    diff -dur Boost/boost/detail/endian.hpp Boost.ppc.fixes/boost/detail/endian.hpp
    old new  
    5454# define BOOST_LITTLE_ENDIAN
    5555# define BOOST_BYTE_ORDER 1234
    5656#elif defined(__sparc) || defined(__sparc__) \
    57    || defined(_POWER) || defined(__powerpc__) \
     57   || defined(_POWER) || defined(__powerpc__) || defined(__ppc) \
    5858   || defined(__ppc__) || defined(__hpux) || defined(__hppa) \
    5959   || defined(_MIPSEB) || defined(_POWER) \
    6060   || defined(__s390__)
  • boost/interprocess/detail/atomic.hpp

    diff -dur Boost/boost/interprocess/detail/atomic.hpp Boost.ppc.fixes/boost/interprocess/detail/atomic.hpp
    old new  
    194194}  //namespace interprocess{
    195195}  //namespace boost{
    196196
    197 #elif defined(__GNUC__) && (defined(__PPC__) || defined(__ppc__))
     197#elif defined(__GNUC__) && (defined(__PPC__) || defined(__ppc) || defined(__ppc__))
    198198
    199199namespace boost {
    200200namespace interprocess {
  • boost/numeric/interval/detail/ppc_rounding_control.hpp

    diff -dur Boost/boost/numeric/interval/detail/ppc_rounding_control.hpp Boost.ppc.fixes/boost/numeric/interval/detail/ppc_rounding_control.hpp
    old new  
    1212#ifndef BOOST_NUMERIC_INTERVAL_DETAIL_PPC_ROUNDING_CONTROL_HPP
    1313#define BOOST_NUMERIC_INTERVAL_DETAIL_PPC_ROUNDING_CONTROL_HPP
    1414
    15 #if !defined(powerpc) && !defined(__powerpc__) && !defined(__ppc__)
     15#if !defined(powerpc) && !defined(__powerpc__) && !defined(__ppc) && !defined(__ppc__)
    1616#error This header only works on PPC CPUs.
    1717#endif
    1818
  • boost/numeric/interval/hw_rounding.hpp

    diff -dur Boost/boost/numeric/interval/hw_rounding.hpp Boost.ppc.fixes/boost/numeric/interval/hw_rounding.hpp
    old new  
    2121#  include <boost/numeric/interval/detail/c99_rounding_control.hpp>
    2222#elif defined(__i386__) || defined(_M_IX86) || defined(__BORLANDC__) || defined(_M_X64)
    2323#  include <boost/numeric/interval/detail/x86_rounding_control.hpp>
    24 #elif defined(powerpc) || defined(__powerpc__) || defined(__ppc__)
     24#elif defined(powerpc) || defined(__powerpc__) || defined(__ppc) || defined(__ppc__)
    2525#  include <boost/numeric/interval/detail/ppc_rounding_control.hpp>
    2626#elif defined(sparc) || defined(__sparc__)
    2727#  include <boost/numeric/interval/detail/sparc_rounding_control.hpp>