Skip to content

Commit

Permalink
each patch on its own
Browse files Browse the repository at this point in the history
  • Loading branch information
DerThorsten committed Jul 29, 2024
1 parent 68b5e38 commit 17dba6b
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,18 @@ export EMSDK=.

echo "emsdk patching"
pushd upstream/emscripten
cat $RECIPE_DIR/patches/*.patch | patch -p1 --verbose
# cat $RECIPE_DIR/patches/*.patch | patch -p1 --verbose
# run each patch individually to see which one fails
for patch_file in $RECIPE_DIR/patches/*.patch;
do
echo "Applying patch: $patch_file"
patch -p1 --verbose < "$patch_file"
if [ $? -ne 0 ]; then
echo "Failed to apply patch: $patch_file"
else
echo "Successfully applied patch: $patch_file"
fi
done
popd
echo "...done"

Expand Down

0 comments on commit 17dba6b

Please sign in to comment.