boost/dynamic_linking.patch
Dirk Mueller 62336d0b67 - update to 1.74.0:
* adds Boost.NoWide
  * see https://www.boost.org/users/history/version_1_72_0.html
  * see https://www.boost.org/users/history/version_1_73_0.html
  * see https://www.boost.org/users/history/version_1_74_0.html
- remove riscv-support.patch, 3ecbf83f.patch (upstream)
- remove boost-visibility.patch,
  boost-no_segfault_in_Regex_filter.patch (obsolete, will never go upstream)
- add boost-remove-cmakedir.patch (remove buildroot embedding in cmake files)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=253
2020-08-17 17:45:34 +00:00

115 lines
4.4 KiB
Diff

Index: boost_1_74_0/libs/test/build/Jamfile.v2
===================================================================
--- boost_1_74_0.orig/libs/test/build/Jamfile.v2
+++ boost_1_74_0/libs/test/build/Jamfile.v2
@@ -95,7 +95,7 @@ lib boost_test_exec_monitor
: # sources
$(TEST_EXEC_MON_SOURCES).cpp
: # requirements
- <link>static
+ # <link>static
: # default build
: # usage-requirements
<link>shared:<define>BOOST_TEST_DYN_LINK=1
Index: boost_1_74_0/libs/exception/build/Jamfile.v2
===================================================================
--- boost_1_74_0.orig/libs/exception/build/Jamfile.v2
+++ boost_1_74_0/libs/exception/build/Jamfile.v2
@@ -7,7 +7,7 @@
project boost/exception
: source-location ../src
- : requirements <link>static
+ : # requirements <link>static
;
lib boost_exception : clone_current_exception_non_intrusive.cpp ;
Index: boost_1_74_0/libs/chrono/build/Jamfile.v2
===================================================================
--- boost_1_74_0.orig/libs/chrono/build/Jamfile.v2
+++ boost_1_74_0/libs/chrono/build/Jamfile.v2
@@ -93,7 +93,7 @@ project boost/chrono
<toolset>sun:<define>__typeof__=__typeof__
<link>shared:<define>BOOST_CHRONO_DYN_LINK=1
- <link>static:<define>BOOST_CHRONO_STATIC_LINK=1
+ # <link>static:<define>BOOST_CHRONO_STATIC_LINK=1
<toolset>gcc-3.4.4:<linkflags>--enable-auto-import
<toolset>gcc-4.3.4:<linkflags>--enable-auto-import
<toolset>gcc-4.4.0,<target-os>windows:<linkflags>--enable-auto-import
@@ -107,7 +107,7 @@ lib boost_chrono
: $(SOURCES).cpp
:
<link>shared:<define>BOOST_ALL_DYN_LINK=1 # tell source we're building dll's
- <link>static:<define>BOOST_All_STATIC_LINK=1 # tell source we're building static lib's
+ # <link>static:<define>BOOST_All_STATIC_LINK=1 # tell source we're building static lib's
;
boost-install boost_chrono ;
Index: boost_1_74_0/libs/system/build/Jamfile.v2
===================================================================
--- boost_1_74_0.orig/libs/system/build/Jamfile.v2
+++ boost_1_74_0/libs/system/build/Jamfile.v2
@@ -11,7 +11,7 @@ project boost/system
: source-location ../src
: usage-requirements # pass these requirement to dependents (i.e. users)
<link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
- <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
+# <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
;
SOURCES = error_code ;
@@ -19,7 +19,7 @@ SOURCES = error_code ;
lib boost_system
: $(SOURCES).cpp
: <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
- <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
+# <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
;
boost-install boost_system ;
Index: boost_1_74_0/libs/timer/build/Jamfile.v2
===================================================================
--- boost_1_74_0.orig/libs/timer/build/Jamfile.v2
+++ boost_1_74_0/libs/timer/build/Jamfile.v2
@@ -13,7 +13,7 @@ project boost/timer
<library>/boost/chrono//boost_chrono
: usage-requirements # pass these requirement to dependants (i.e. users)
<link>shared:<define>BOOST_TIMER_DYN_LINK=1
- <link>static:<define>BOOST_TIMER_STATIC_LINK=1
+# <link>static:<define>BOOST_TIMER_STATIC_LINK=1
;
SOURCES = auto_timers_construction cpu_timer ;
@@ -21,7 +21,7 @@ SOURCES = auto_timers_construction cpu_t
lib boost_timer
: $(SOURCES).cpp
: <link>shared:<define>BOOST_TIMER_DYN_LINK=1
- <link>static:<define>BOOST_TIMER_STATIC_LINK=1
+# <link>static:<define>BOOST_TIMER_STATIC_LINK=1
;
boost-install boost_timer ;
Index: boost_1_74_0/libs/filesystem/build/Jamfile.v2
===================================================================
--- boost_1_74_0.orig/libs/filesystem/build/Jamfile.v2
+++ boost_1_74_0/libs/filesystem/build/Jamfile.v2
@@ -54,7 +54,7 @@ project boost/filesystem
: source-location ../src
: usage-requirements # pass these requirement to dependents (i.e. users)
<link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
- <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
+# <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
;
SOURCES =
@@ -75,7 +75,7 @@ lib boost_filesystem
: <define>BOOST_FILESYSTEM_SOURCE
<include>../src
<link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
- <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
+# <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
:
:
;