LTIB uses this patch definition on the spec file:
Patch1 : patch_name-bla-bla-bla.patch
But if you has 447 patches, like in our previous examples? Easy, use this bash command to create the right setup to apply these patches.
$ i=0; while [ $i -lt 447 ]; do i=$(($i + 1)); echo "%patch$i -p1" >> patch_spec; done