1 | diff --git a/Portfile b/Portfile |
---|
2 | index 72b6313..f6af655 100644 |
---|
3 | --- a/Portfile |
---|
4 | +++ b/Portfile |
---|
5 | @@ -2,6 +2,7 @@ |
---|
6 | PortSystem 1.0 |
---|
7 | name cogito |
---|
8 | version 0.18.2 |
---|
9 | +revision 1 |
---|
10 | categories devel |
---|
11 | maintainers bryan@larsen.st |
---|
12 | description Git core and cogito tools to provide a fully-distributed SCM |
---|
13 | @@ -19,6 +20,7 @@ depends_lib port:coreutils \ |
---|
14 | port:zlib \ |
---|
15 | port:git-core |
---|
16 | build.type gnu |
---|
17 | +patchfiles patch-xargs |
---|
18 | destroot.type gnu |
---|
19 | destroot.destdir prefix=${prefix} DESTDIR=${destroot} |
---|
20 | test.run yes |
---|
21 | diff --git a/files/patch-xargs b/files/patch-xargs |
---|
22 | new file mode 100644 |
---|
23 | index 0000000..6fb476f |
---|
24 | --- /dev/null |
---|
25 | +++ b/files/patch-xargs |
---|
26 | @@ -0,0 +1,11 @@ |
---|
27 | +--- cg-Xlib.orig 2007-05-01 18:28:46.000000000 -0400 |
---|
28 | ++++ cg-Xlib 2007-05-01 18:28:59.000000000 -0400 |
---|
29 | +@@ -615,7 +615,7 @@ |
---|
30 | + # Kill gone files |
---|
31 | + git-diff-tree -z --name-status -r "$base" "$branch" | |
---|
32 | + perl -n0e 'chomp; if (defined $meta) { print "$_\0" if $meta eq 'D'; $meta=undef } else { $meta = $_ }' | |
---|
33 | +- xargs --null rm -f -- |
---|
34 | ++ xargs -0 rm -f -- |
---|
35 | + git-checkout-index -u -f -a |
---|
36 | + |
---|
37 | + # FIXME: Can produce bogus "contains only garbage" messages. |
---|