ports/textproc/doclifter/patches/patch-manlifter

12 lines
543 B
Text

Index: manlifter
--- manlifter.orig
+++ manlifter
@@ -88,7 +88,7 @@ def fetch_page(file, localcopy, patch):
return (1, output + "manlifter: copy failed, status %d", cstat)
if os.path.exists(patch):
stem = os.path.basename(localcopy)
- patch = getoutput("patch -d%s --version-control=never <%s" % (outdir, patch,))
+ patch = getoutput("patch -d%s <%s" % (outdir, patch,))
os.system("rm -f %s/%s.orig %s/%s.rej" % (outdir, stem, outdir, stem))
if patch:
output += patch + "\n"