How to resolve File to Patch issue?
You need to run patch -p1 &lt; patchname-issuenum-version.patch from the directory containing the core directory, not from core/mdoules/some/ or core/modules/some/. (I take core/mdoules/some/ is a typo in the question body.)

Patches for Drupal core are created from the Drupal root directory, so when you apply a Drupal patch, you need to change directory to that one.