Drupal: How to apply a patch manually
Syntax:
patch -p1 < patch_file.patch
Example:
iks@srv1 [~/public_html/sites/all/modules/webform]# patch -p1 < webform-php72_count-2953662-18.patch
Output:
patching file webform.module
Hunk #1 succeeded at 2301 (offset -801 lines).