Skip to content

Commit

Permalink
build: Patch boost install checksum mismatch error
Browse files Browse the repository at this point in the history
Apply the workaround provided by the React Native community to address a
checksum mismatch error that occurs when installing `boost`. The error
originates from issues with the `boost` host, JFrog.

facebook/react-native#42180
  • Loading branch information
dcalhoun committed Jan 9, 2024
1 parent ffa9035 commit 7c3b686
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/react-native+0.71.11.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,16 @@ index 0758df6..18c5687 100644
submitBehavior={submitBehavior}
caretHidden={caretHidden}
dataDetectorTypes={props.dataDetectorTypes}
diff --git a/node_modules/react-native/third-party-podspecs/boost.podspec b/node_modules/react-native/third-party-podspecs/boost.podspec
index 3d9331c..bbbb738 100644
--- a/node_modules/react-native/third-party-podspecs/boost.podspec
+++ b/node_modules/react-native/third-party-podspecs/boost.podspec
@@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
spec.homepage = 'http://www.boost.org'
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
spec.authors = 'Rene Rivera'
- spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2',
+ spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2',
:sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }

# Pinning to the same version as React.podspec.

0 comments on commit 7c3b686

Please sign in to comment.