lib/autobuild/importer.rb in autobuild-1.5.54 vs lib/autobuild/importer.rb in autobuild-1.5.55
- old
+ new
@@ -145,10 +145,10 @@
end
def call_patch(package, reverse, file)
patch = Autobuild.tool('patch')
Dir.chdir(package.srcdir) do
- Subprocess.run(package, :patch, patch, '-p0', (reverse ? '-R' : nil), :input => file)
+ Subprocess.run(package, :patch, patch, '-p0', (reverse ? '-R' : nil), '--forward', :input => file)
end
end
def apply(package, path); call_patch(package, false, path) end
def unapply(package, path); call_patch(package, true, path) end