From 7c3b686543aeaae49f45f1a4bd812e5f9bbaf6c8 Mon Sep 17 00:00:00 2001 From: David Calhoun Date: Mon, 8 Jan 2024 22:21:34 -0500 Subject: [PATCH] build: Patch boost install checksum mismatch error 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. https://github.com/facebook/react-native/issues/42180 --- patches/react-native+0.71.11.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/react-native+0.71.11.patch b/patches/react-native+0.71.11.patch index d6248810094668..8f9d2acfc2adcb 100644 --- a/patches/react-native+0.71.11.patch +++ b/patches/react-native+0.71.11.patch @@ -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.