summarylogtreecommitdiffstats
path: root/disable-version-check.patch
blob: 4226e1d623367abe048e71d46e84c2e1d20e651e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- a/tools/build/src/tools/common.jam	2023-02-03 10:57:59.385098144 +0100
+++ b/tools/build/src/tools/common.jam	2023-02-03 11:00:34.982146918 +0100
@@ -1127,18 +1127,18 @@
         import $(toolset) ;
         local tool-version = [ $(toolset).get-full-version $(command) ] ;
 
-        import version ;
-        if ! [ version.version-compatible [ SPLIT_BY_CHARACTERS $(version) : . ]
-                                        : [ SPLIT_BY_CHARACTERS $(tool-version) : . ] ]
-        {
-            errors.error toolset $(toolset) "initialization:"
-                : version '$(version)' requested but
-                    '$(tool)-$(version)' not found and version
-                    '$(tool-version:J=.)' of default '$(command)'
-                    does not match
-                : initialized from [ errors.nearest-user-location ]
-                ;
-        }
+        #import version ;
+        #if ! [ version.version-compatible [ SPLIT_BY_CHARACTERS $(version) : . ]
+        #                                : [ SPLIT_BY_CHARACTERS $(tool-version) : . ] ]
+        #{
+        #    errors.error toolset $(toolset) "initialization:"
+        #        : version '$(version)' requested but
+        #            '$(tool)-$(version)' not found and version
+        #            '$(tool-version:J=.)' of default '$(command)'
+        #            does not match
+        #        : initialized from [ errors.nearest-user-location ]
+        #        ;
+        #}
     }
     #3) default: no command and no version specified, try using "$(tool)"
     else