-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#9047) boost: Bump build_requires of 'b2' to '4.7.1' (was '4.5.0'). …
…Add patches to fix bugs in Boost<=1.77.0 so they build with newer b2 This fixes #9047 ('build from source fails with MSVC 2022 due to outdated b2 dep')
- Loading branch information
Showing
5 changed files
with
172 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
recipes/boost/all/patches/1.70.0-boost_build-with-newer-b2.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- tools/build/src/build/configure.jam.orig 2019-04-09 15:36:57.000000000 -0400 | ||
+++ tools/build/src/build/configure.jam 2022-01-28 20:51:10.924240100 -0500 | ||
@@ -452,7 +452,7 @@ | ||
return [ find-builds-raw $(p) : $(ps) : $(what) : | ||
$(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) : | ||
$(10) : $(11) : $(12) : $(13) : $(14) : $(15) : | ||
- $(16) : $(17) : $(18) : $(19) ] ; | ||
+ $(16) : $(17) : $(18) ] ; | ||
} | ||
|
||
|
||
@@ -510,7 +510,7 @@ | ||
rule __init__ ( message : * ) | ||
{ | ||
self.message = $(message) ; | ||
- for i in 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ||
+ for i in 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ||
{ | ||
local name = [ CALC $(i) - 1 ] ; | ||
self.targets.$(name) = $($(i)[1]) ; | ||
@@ -527,7 +527,7 @@ | ||
} | ||
rule all-properties ( ) | ||
{ | ||
- local i = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ; | ||
+ local i = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ; | ||
return $(self.props.$(i)) ; | ||
} | ||
rule check ( properties * ) | ||
@@ -549,9 +549,7 @@ | ||
: $(self.targets.14) $(self.what.14) | ||
: $(self.targets.15) $(self.what.15) | ||
: $(self.targets.16) $(self.what.16) | ||
- : $(self.targets.17) $(self.what.17) | ||
- : $(self.targets.18) $(self.what.18) | ||
- : $(self.targets.19) $(self.what.19) ] ; | ||
+ : $(self.targets.17) $(self.what.17) ] ; | ||
if $(self.props.$(i)) | ||
{ | ||
return [ property.evaluate-conditionals-in-context $(self.props.$(i)) : $(properties) ] ; | ||
--- tools/build/src/util/indirect.jam.orig 2020-12-03 00:02:49.000000000 -0500 | ||
+++ tools/build/src/util/indirect.jam 2022-01-28 20:32:41.249509200 -0500 | ||
@@ -102,7 +102,7 @@ | ||
{ | ||
return [ modules.call-in [ get-module $(r) ] : [ get-rule $(r) ] $(args) : | ||
$(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) : $(10) : $(11) : | ||
- $(12) : $(13) : $(14) : $(15) : $(16) : $(17) : $(18) : $(19) ] ; | ||
+ $(12) : $(13) : $(14) : $(15) : $(16) : $(17) : $(18) ] ; | ||
} | ||
|
||
|
51 changes: 51 additions & 0 deletions
51
recipes/boost/all/patches/1.75.0-boost_build-with-newer-b2.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- tools/build/src/build/configure.jam.orig 2020-12-03 00:02:49.000000000 -0500 | ||
+++ tools/build/src/build/configure.jam 2022-01-28 20:32:41.260634800 -0500 | ||
@@ -454,7 +454,7 @@ | ||
return [ find-builds-raw $(p) : $(ps) : $(what) : | ||
$(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) : | ||
$(10) : $(11) : $(12) : $(13) : $(14) : $(15) : | ||
- $(16) : $(17) : $(18) : $(19) ] ; | ||
+ $(16) : $(17) : $(18) ] ; | ||
} | ||
|
||
|
||
@@ -518,7 +518,7 @@ | ||
{ | ||
local project = [ project.current ] ; | ||
self.message = $(message) ; | ||
- for i in 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ||
+ for i in 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ||
{ | ||
local name = [ CALC $(i) - 1 ] ; | ||
self.targets.$(name) = $($(i)[1]) ; | ||
@@ -537,7 +537,7 @@ | ||
} | ||
rule all-properties ( ) | ||
{ | ||
- local i = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ; | ||
+ local i = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ; | ||
return $(self.props.$(i)) ; | ||
} | ||
rule check ( properties * ) | ||
@@ -559,9 +559,7 @@ | ||
: $(self.targets.14) $(self.what.14) | ||
: $(self.targets.15) $(self.what.15) | ||
: $(self.targets.16) $(self.what.16) | ||
- : $(self.targets.17) $(self.what.17) | ||
- : $(self.targets.18) $(self.what.18) | ||
- : $(self.targets.19) $(self.what.19) ] ; | ||
+ : $(self.targets.17) $(self.what.17) ] ; | ||
if $(self.props.$(i)) | ||
{ | ||
return [ property.evaluate-conditionals-in-context $(self.props.$(i)) : $(properties) ] ; | ||
--- tools/build/src/util/indirect.jam.orig 2020-12-03 00:02:49.000000000 -0500 | ||
+++ tools/build/src/util/indirect.jam 2022-01-28 20:32:41.249509200 -0500 | ||
@@ -102,7 +102,7 @@ | ||
{ | ||
return [ modules.call-in [ get-module $(r) ] : [ get-rule $(r) ] $(args) : | ||
$(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) : $(10) : $(11) : | ||
- $(12) : $(13) : $(14) : $(15) : $(16) : $(17) : $(18) : $(19) ] ; | ||
+ $(12) : $(13) : $(14) : $(15) : $(16) : $(17) : $(18) ] ; | ||
} | ||
|
||
|
51 changes: 51 additions & 0 deletions
51
recipes/boost/all/patches/1.77.0-boost_build-with-newer-b2.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- tools/build/src/build/configure.jam.orig 2021-08-05 05:42:46.000000000 -0400 | ||
+++ tools/build/src/build/configure.jam 2022-01-28 19:55:37.960877600 -0500 | ||
@@ -467,7 +467,7 @@ | ||
return [ find-builds-raw $(p) : $(ps) : $(what) : | ||
$(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) : | ||
$(10) : $(11) : $(12) : $(13) : $(14) : $(15) : | ||
- $(16) : $(17) : $(18) : $(19) ] ; | ||
+ $(16) : $(17) : $(18) ] ; | ||
} | ||
|
||
|
||
@@ -531,7 +531,7 @@ | ||
{ | ||
local project = [ project.current ] ; | ||
self.message = $(message) ; | ||
- for i in 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ||
+ for i in 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ||
{ | ||
local name = [ CALC $(i) - 1 ] ; | ||
self.targets.$(name) = $($(i)[1]) ; | ||
@@ -550,7 +550,7 @@ | ||
} | ||
rule all-properties ( ) | ||
{ | ||
- local i = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ; | ||
+ local i = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ; | ||
return $(self.props.$(i)) ; | ||
} | ||
rule check ( properties * ) | ||
@@ -572,9 +572,7 @@ | ||
: $(self.targets.14) $(self.what.14) | ||
: $(self.targets.15) $(self.what.15) | ||
: $(self.targets.16) $(self.what.16) | ||
- : $(self.targets.17) $(self.what.17) | ||
- : $(self.targets.18) $(self.what.18) | ||
- : $(self.targets.19) $(self.what.19) ] ; | ||
+ : $(self.targets.17) $(self.what.17) ] ; | ||
if $(self.props.$(i)) | ||
{ | ||
return [ property.evaluate-conditionals-in-context $(self.props.$(i)) : $(properties) ] ; | ||
--- tools/build/src/util/indirect.jam.orig 2021-08-05 05:42:46.000000000 -0400 | ||
+++ tools/build/src/util/indirect.jam 2021-12-02 01:48:03.000000000 -0500 | ||
@@ -102,7 +102,7 @@ | ||
{ | ||
return [ modules.call-in [ get-module $(r) ] : [ get-rule $(r) ] $(args) : | ||
$(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) : $(10) : $(11) : | ||
- $(12) : $(13) : $(14) : $(15) : $(16) : $(17) : $(18) : $(19) ] ; | ||
+ $(12) : $(13) : $(14) : $(15) : $(16) : $(17) : $(18) ] ; | ||
} | ||
|
||
.parts_regex = "^([^@]*)@" "([^%]*)%" "([^%]+)$" ; |