From 758e3f7a8c7c0268a8e143e5c6f6cf7ca93a2bbc Mon Sep 17 00:00:00 2001 From: Antonin Cezard Date: Mon, 29 Apr 2024 16:39:42 +0200 Subject: [PATCH] fix : handle syntax error in xcode 15 --- patches/react-native+0.66.4.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/react-native+0.66.4.patch diff --git a/patches/react-native+0.66.4.patch b/patches/react-native+0.66.4.patch new file mode 100644 index 000000000..669a459a2 --- /dev/null +++ b/patches/react-native+0.66.4.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp b/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp +index 2c68674..ea95e40 100644 +--- a/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp ++++ b/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp +@@ -2229,7 +2229,7 @@ static float YGDistributeFreeSpaceSecondPass( + depth, + generationCount); + node->setLayoutHadOverflow( +- node->getLayout().hadOverflow() | ++ node->getLayout().hadOverflow() || + currentRelativeChild->getLayout().hadOverflow()); + } + return deltaFreeSpace;