Ticket #50671: boost_1.60.0.diff
File boost_1.60.0.diff, 9.6 KB (added by michaelld (Michael Dickens), 9 years ago) |
---|
-
Portfile
6 6 PortGroup mpi 1.0 7 7 8 8 name boost 9 version 1.59.0 10 revision 2 9 version 1.60.0 11 10 license Boost-1 12 11 categories devel 13 12 platforms darwin … … 26 25 distname ${name}_${distver} 27 26 use_bzip2 yes 28 27 29 checksums rmd160 a106b3cd1dbda2323e5e84c7106cedee327db03c \ 30 sha256 727a932322d94287b62abb1bd2d41723eec4356a7728909e38adb65ca25241ca 28 checksums \ 29 rmd160 191c97a0aed4543fbc8543219d2ab53aea7db784 \ 30 sha256 686affff989ac2488f79a97b9479efb9f2abae035b5ed4d8226de6857933fd3b 31 31 32 32 depends_lib port:zlib \ 33 33 port:expat \ … … 45 45 46 46 patchfiles patch-tools-build-src-engine-build.sh.diff \ 47 47 patch-tools-build-src-engine-build.jam.diff \ 48 patch-apple-clang-no-libcxx.diff \ 49 patch-libs-context-src-asm-make_ppc32_sysv_macho_gas.S.diff \ 50 patch-log-setup-link.diff 48 patch-apple-clang-no-libcxx.diff 51 49 # patch-apple-clang-no-libcxx.diff fixes a clang configuration 52 50 # error that occurs on OS X 10.7 and 10.8 due to the assumption 53 51 # that if clang is the compiler in use it must be using libc++. -
files/patch-apple-clang-no-libcxx.diff
1 1 diff --git boost/config/compiler/clang.hpp boost/config/compiler/clang.hpp 2 2 --- boost/config/compiler/clang.hpp 3 3 +++ boost/config/compiler/clang.hpp 4 @@ -199,10 +199,20 @@ 5 6 #if !__has_feature(cxx_inline_namespaces) 4 @@ -207,6 +207,16 @@ 7 5 # define BOOST_NO_CXX11_INLINE_NAMESPACES 8 6 #endif 9 7 … … 20 18 #if !__has_feature(cxx_override_control) 21 19 # define BOOST_NO_CXX11_FINAL 22 20 #endif 23 24 #if !(__has_feature(cxx_binary_literals) || __has_extension(cxx_binary_literals))25 21 diff --git boost/multi_index/detail/vartempl_support.hpp boost/multi_index/detail/vartempl_support.hpp 26 22 --- boost/multi_index/detail/vartempl_support.hpp 27 23 +++ boost/multi_index/detail/vartempl_support.hpp -
files/patch-boost-python3.diff
1 diff -Naur libs/mpi/src/python/datatypes.cpp libs/mpi/src/python/datatypes.cpp 2 --- libs/mpi/src/python/datatypes.cpp 2007-11-25 13:38:02.000000000 -0500 3 +++ libs/mpi/src/python/datatypes.cpp 2013-03-11 20:59:57.171732691 -0400 1 --- libs/mpi/src/python/datatypes.cpp.orig 2 +++ libs/mpi/src/python/datatypes.cpp 4 3 @@ -13,6 +13,10 @@ 5 4 #include <boost/mpi/python/serialize.hpp> 6 5 #include <boost/mpi.hpp> … … 12 11 namespace boost { namespace mpi { namespace python { 13 12 14 13 void export_datatypes() 15 diff -Naur libs/mpi/build/__init__.py llibs/mpi/build/__init__.py 16 --- libs/mpi/build/__init__.py 2013-11-27 12:52:37.000000000 -0600 17 +++ libs/mpi/build/__init__.py 2013-11-27 12:52:55.000000000 -0600 14 --- libs/mpi/build/__init__.py.orig 15 +++ libs/mpi/build/__init__.py 18 16 @@ -6,5 +6,5 @@ 19 17 import mpi 20 18 sys.setdlopenflags(flags) -
files/patch-export_serialization_explicit_template_instantiations.diff
507 507 +template class BOOST_SYMBOL_VISIBLE xml_woarchive_impl<xml_woarchive> ; 508 508 509 509 } // namespace archive 510 } // namespace boost 511 No newline at end of file 510 } // namespace boost -
files/patch-libs-context-src-asm-make_ppc32_sysv_macho_gas.S.diff
1 Fix build on PowerPC2 https://svn.boost.org/trac/boost/ticket/116033 https://github.com/boostorg/context/commit/8c60232f5f372be9a47e26dbf7f000e9c21cc4a24 --- libs/context/src/asm/make_ppc32_sysv_macho_gas.S.orig5 +++ libs/context/src/asm/make_ppc32_sysv_macho_gas.S6 @@ -82,7 +82,7 @@ _make_fcontext:7 subi r3, r3, 3048 9 ; third arg of make_fcontext() == address of context-function10 - stw r5, 236(%r3)11 + stw r5, 236(r3)12 13 ; load LR14 mflr r0 -
files/patch-libs-mpi-build-Jamfile.v2.diff
1 --- libs/mpi/build/Jamfile.v2.orig 2010-10-18 02:22:09.000000000 -04002 +++ libs/mpi/build/Jamfile.v2 2010-11-23 13:28:09.000000000 -05001 --- libs/mpi/build/Jamfile.v2.orig 2 +++ libs/mpi/build/Jamfile.v2 3 3 @@ -68,6 +68,7 @@ 4 4 <link>shared:<define>BOOST_MPI_DYN_LINK=1 5 5 : # Default build -
files/patch-log-setup-link.diff
1 https://github.com/boostorg/log/pull/102 https://github.com/crmoore/log/commit/870284ed31792708a6139925d00a0aadf46bf09f3 --- boost/log/detail/setup_config.hpp4 +++ boost/log/detail/setup_config.hpp5 @@ -30,11 +30,17 @@6 # define BOOST_LOG_SETUP_DLL7 # endif8 9 -# if defined(BOOST_HAS_DECLSPEC) && defined(BOOST_LOG_SETUP_DLL)10 -# define BOOST_LOG_SETUP_API __declspec(dllimport)11 -# else12 +# if defined(BOOST_LOG_SETUP_DLL)13 +# if defined(BOOST_SYMBOL_IMPORT)14 +# define BOOST_LOG_SETUP_API BOOST_SYMBOL_IMPORT15 +# elif defined(BOOST_HAS_DECLSPEC)16 +# define BOOST_LOG_SETUP_API __declspec(dllimport)17 +# endif18 +# endif19 +# ifndef BOOST_LOG_SETUP_API20 # define BOOST_LOG_SETUP_API21 -# endif // defined(BOOST_HAS_DECLSPEC)22 +# endif23 +24 //25 // Automatically link to the correct build variant where possible.26 //27 @@ -48,12 +54,15 @@28 29 #else // !defined(BOOST_LOG_SETUP_BUILDING_THE_LIB)30 31 -# if defined(BOOST_HAS_DECLSPEC) && defined(BOOST_LOG_SETUP_DLL)32 -# define BOOST_LOG_SETUP_API __declspec(dllexport)33 -# elif defined(__GNUC__) && __GNUC__ >= 4 && (defined(linux) || defined(__linux) || defined(__linux__))34 -# define BOOST_LOG_SETUP_API __attribute__((visibility("default")))35 -# else36 -# define BOOST_LOG_SETUP_API37 +# if defined(BOOST_LOG_SETUP_DLL)38 +# if defined(BOOST_SYMBOL_EXPORT)39 +# define BOOST_LOG_SETUP_API BOOST_SYMBOL_EXPORT40 +# elif defined(BOOST_HAS_DECLSPEC)41 +# define BOOST_LOG_SETUP_API __declspec(dllexport)42 +# endif43 +# endif44 +# ifndef BOOST_LOG_SETUP_API45 +# define BOOST_LOG_SETUP_API BOOST_SYMBOL_VISIBLE46 # endif47 48 #endif // !defined(BOOST_LOG_SETUP_BUILDING_THE_LIB) -
files/patch-tools-build-src-engine-build.jam.diff
1 --- tools/build/src/engine/build.jam.orig 2014-06-19 12:15:38.000000000 -05002 +++ tools/build/src/engine/build.jam 2014-08-14 07:43:48.000000000 -05003 @@ - 199,7 +199,7 @@1 --- tools/build/src/engine/build.jam.orig 2 +++ tools/build/src/engine/build.jam 3 @@ -205,7 +205,7 @@ 4 4 -I$(--python-include) -I$(--extra-include) 5 5 : -L$(--python-lib[1]) -l$(--python-lib[2]) ; 6 6 ## MacOSX Darwin, using GCC 2.9.x, 3.x -
files/patch-tools-build-src-engine-build.sh.diff
1 --- tools/build/src/engine/build.sh.orig 2014-06-19 12:15:38.000000000 -05002 +++ tools/build/src/engine/build.sh 2014-08-14 07:43:48.000000000 -05003 @@ -1 34,7 +134,7 @@1 --- tools/build/src/engine/build.sh.orig 2 +++ tools/build/src/engine/build.sh 3 @@ -142,7 +142,7 @@ 4 4 ;; 5 5 6 6 darwin) -
files/patch-tools-build-src-tools-python-2.jam.diff
1 --- tools/build/src/tools/python.jam.orig 2009-10-06 15:56:18.000000000 +02002 +++ tools/build/src/tools/python.jam 2009-10-06 15:53:48.000000000 +02003 @@ -5 46,6 +546,13 @@1 --- tools/build/src/tools/python.jam.orig 2 +++ tools/build/src/tools/python.jam 3 @@ -537,6 +537,13 @@ 4 4 libraries ?= $(default-library-path) ; 5 5 includes ?= $(default-include-path) ; 6 6 } -
files/patch-tools-build-src-tools-python.jam.diff
1 --- tools/build/src/tools/python.jam.orig 2009-10-06 15:56:18.000000000 +02002 +++ tools/build/src/tools/python.jam 2009-10-06 15:53:48.000000000 +02003 @@ -42 7,7 +427,7 @@1 --- tools/build/src/tools/python.jam.orig 2 +++ tools/build/src/tools/python.jam 3 @@ -426,7 +426,7 @@ 4 4 version ?= $(.version-countdown) ; 5 5 6 6 local prefix