I have downloaded fresh copy of Magento 18.104.22.168 and PHP 5.4 patch for 22.214.171.124 version, problem is I can't install patch via SSH, working with Magento on local disk! I have found similar problems, other people had HUNK fail problem, my problem is somewhat different, as shown on picture, tried with "sh" and "bash" commands, same problem.
For SSH client, I'm using MobaXterm, not sure if that is relevant. I'm new in coding, maybe I'm doing something wrong.
UPDATE: I have installed Cygwin, started the Cygwin shell and tried to execute patch and then it shows
Error! Some required system tools, that are utilizied in this sh script, are not installed: Tool(s) 'patch' is(are) missed, please install it(them).
I searched on Cygwin page, under Cygwin Package Search, and for 'patch' it finds 2546 matches. What now?
UPDATE: It worked, thank you! I have replied today because once everything has been installed (including 9 security patches), forgot to post update, I tried to upvote the answer but it didn't accept, probably because of reputation not being high enough! Anyway, thanks again fschmengler!