feat(deprecate): posix-spawn patch is no longer supported

Nor is it needed, as it was only an issue in master for a short period
of time.
This commit is contained in:
2022-12-04 20:30:20 +00:00
parent cff89684c6
commit c3d19694e7

View File

@@ -708,15 +708,6 @@ class Build
end
end
if %w[emacs-28 emacs-29].include?(effective_version)
if options[:posix_spawn]
p << {
url: 'https://github.com/d12frosted/homebrew-emacs-plus/raw/master/' \
"patches/#{effective_version}/posix-spawn.patch"
}
end
end
if effective_version == 'emacs-28'
p << {
replace: [
@@ -1346,8 +1337,8 @@ if __FILE__ == $PROGRAM_NAME
cli_options[:no_titlebar] = true
end
opts.on('--posix-spawn', 'Apply posix-spawn patch (default: disabled)') do
cli_options[:posix_spawn] = true
opts.on('--posix-spawn', 'Apply posix-spawn patch (deprecated)') do
warn '==> WARN: posix-spawn patch is deprecated as has no effect.'
end
opts.on('--no-frame-refocus',