summaryrefslogtreecommitdiff
path: root/devel/meld/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'devel/meld/patches/patch-ac')
-rw-r--r--devel/meld/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/meld/patches/patch-ac b/devel/meld/patches/patch-ac
new file mode 100644
index 00000000000..464e38585b5
--- /dev/null
+++ b/devel/meld/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2010/08/09 11:33:53 drochner Exp $
+
+--- meld/vc/_vc.py.orig 2010-06-24 21:31:33.000000000 +0000
++++ meld/vc/_vc.py
+@@ -106,7 +106,7 @@ class Vc(object):
+ def resolved_command(self):
+ raise NotImplementedError()
+ def patch_command(self, workdir):
+- return ["patch","--strip=%i"%self.PATCH_STRIP_NUM,"--reverse","--directory=%s" % workdir]
++ return ["patch","-p%i"%self.PATCH_STRIP_NUM,"-R","-d%s" % workdir]
+
+ def check_repo_root(self, location):
+ if not os.path.isdir(os.path.join(location, self.VC_DIR)):