Technical resource
SUPEE-11219: different line endings for js/tiny_mce/plugins/media/editor_plugin_src.js
Note: This is a historical reference, not a current security baseline. Magento 1 is end-of-life.
On attempt to apply SUPEE-11219 the following error reported:
checking file js/tiny_mce/plugins/media/editor_plugin_src.js Hunk #1 FAILED at 379 (different line endings). 1 out of 1 hunk FAILED
Solution
Correct line endings injs/tiny_mce/plugins/media/editor_plugin_src.js from dos to unix with:
$ sed -ie 's/\x0D$//' js/tiny_mce/plugins/media/editor_plugin_src.jsand re-run the patch script.