From 5c90bbbb8b5144ce2f44683d78b85cb8583814e7 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Wed, 15 Jan 2025 10:41:55 -0500 Subject: [PATCH] Add patch for boost download url --- .github/workflows/publish-beta.yml | 4 +++- patches/boost1760.patch | 13 +++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 patches/boost1760.patch diff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.yml index 185bb9924..a4e594a98 100644 --- a/.github/workflows/publish-beta.yml +++ b/.github/workflows/publish-beta.yml @@ -34,7 +34,9 @@ jobs: cache: npm - name: Install Node.js dependencies - run: npm ci --no-audit + run: | + npm ci --no-audit + git apply patches/boost1760.patch - name: Install Pods run: | diff --git a/patches/boost1760.patch b/patches/boost1760.patch new file mode 100644 index 000000000..2467b05bf --- /dev/null +++ b/patches/boost1760.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/react-native/third-party-podspecs/boost.podspec b/node_modules/react-native/third-party-podspecs/boost.podspec +index 3950fce..3ae78ba 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.