Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add fmt patch to react-native (#10136)

authored by

Eric Bailey and committed by
GitHub
0419066f 14633232

+16
+16
patches/react-native+0.81.5+005+fmt-compat-fix.patch
··· 1 + diff --git a/node_modules/react-native/third-party-podspecs/fmt.podspec b/node_modules/react-native/third-party-podspecs/fmt.podspec 2 + index 2f38990..9b02e48 100644 3 + --- a/node_modules/react-native/third-party-podspecs/fmt.podspec 4 + +++ b/node_modules/react-native/third-party-podspecs/fmt.podspec 5 + @@ -26,4 +26,11 @@ Pod::Spec.new do |spec| 6 + spec.public_header_files = "include/fmt/*.h" 7 + spec.header_mappings_dir = "include" 8 + spec.source_files = ["include/fmt/*.h", "src/format.cc"] 9 + + 10 + + # TODO: Remove after upgrading React Native past 0.83.x 11 + + # Fix fmt 11.0.2 consteval build error with Xcode 26.4 (facebook/react-native#55601) 12 + + # Fixed in RN 0.84+ which bumps fmt to a compatible version. 13 + + spec.prepare_command = <<~SCRIPT 14 + + perl -i -pe 's/^# define FMT_USE_CONSTEVAL 1$/# define FMT_USE_CONSTEVAL 0/' include/fmt/base.h 15 + + SCRIPT 16 + end