Skip to content

Commit 680056d

Browse files
chore: fix react native boost install via patch
1 parent 8675d6f commit 680056d

File tree

3 files changed

+225
-2
lines changed

3 files changed

+225
-2
lines changed

examples/default/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"android": "react-native run-android",
77
"ios": "react-native run-ios",
88
"start": "react-native start",
9-
"lint": "eslint ."
9+
"lint": "eslint .",
10+
"postinstall": "patch-package"
1011
},
1112
"dependencies": {
1213
"@react-native-community/slider": "^4.4.3",
@@ -37,6 +38,7 @@
3738
"detox": "^20.9.0",
3839
"jest": "^29.2.1",
3940
"metro-react-native-babel-preset": "0.77.0",
41+
"patch-package": "^8.0.0",
4042
"react-test-renderer": "18.2.0",
4143
"ts-jest": "^29.1.0",
4244
"typescript": "5.1.6"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/node_modules/react-native/third-party-podspecs/boost.podspec b/node_modules/react-native/third-party-podspecs/boost.podspec
2+
index 3d9331c..bbbb738 100644
3+
--- a/node_modules/react-native/third-party-podspecs/boost.podspec
4+
+++ b/node_modules/react-native/third-party-podspecs/boost.podspec
5+
@@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
6+
spec.homepage = 'http://www.boost.org'
7+
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
8+
spec.authors = 'Rene Rivera'
9+
- spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2',
10+
+ spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2',
11+
:sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
12+
13+
# Pinning to the same version as React.podspec.

0 commit comments

Comments
 (0)