diff --git a/build-emacs-for-macos b/build-emacs-for-macos index 1b86a92..a3fd19f 100755 --- a/build-emacs-for-macos +++ b/build-emacs-for-macos @@ -1159,7 +1159,9 @@ class Build if patch[:file] info 'Applying patch...' - FileUtils.cd(target) { run_cmd('patch', '-f', '-p1', '-i', patch[:file]) } + FileUtils.cd(target) do + run_cmd('patch', '-f', '-p1', '-l', '-i', patch[:file]) + end elsif patch[:url] patch_dir = "#{target}/macos_patches" run_cmd('mkdir', '-p', patch_dir)