* cogito-0.18.2: Portability problems with utility arguments
@ 2007-03-10 20:21 Thomas Klausner
0 siblings, 0 replies; only message in thread
From: Thomas Klausner @ 2007-03-10 20:21 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
Hi!
I just updated the NetBSD pkgsrc package for cogito[1] to 0.18.2.
Currently there are three patches in pkgsrc for cogito, all of
them submitted for inclusion by Anthony Mallet, see
http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=35020
http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=35147
Here are the patches and the explanations.
patch-ab:
xargs on NetBSD does not know "--null", it does however know
the equivalent "-0".
patch-ac, patch-ad:
fmt on NetBSD does not know "-s". These patches just remove
the "-s". I'm not sure how to fix this, really.
Please include patch-aa, and if you find a way to work
around the "fmt -s", I'd appreciate it.
Cheers,
Thomas
P.S.: Please cc me on replies, I'm not on this list.
[1] http://www.netbsd.org/packages/devel/cogito/README.html
[-- Attachment #2: patch-ab --]
[-- Type: text/plain, Size: 506 bytes --]
$NetBSD: patch-ab,v 1.2 2007/03/10 19:09:33 wiz Exp $
>From PR 35020.
--- cg-Xlib.orig 2006-11-17 00:37:24.000000000 +0000
+++ cg-Xlib
@@ -615,7 +615,7 @@ tree_timewarp()
# Kill gone files
git-diff-tree -z --name-status -r "$base" "$branch" |
perl -n0e 'chomp; if (defined $meta) { print "$_\0" if $meta eq 'D'; $meta=undef } else { $meta = $_ }' |
- xargs --null rm -f --
+ xargs -0 rm -f --
git-checkout-index -u -f -a
# FIXME: Can produce bogus "contains only garbage" messages.
[-- Attachment #3: patch-ac --]
[-- Type: text/plain, Size: 345 bytes --]
$NetBSD: patch-ac,v 1.1 2006/11/09 02:19:59 rillig Exp $
>From PR 35020.
--- cg-tag~ 2006-09-29 13:58:15.000000000 +0200
+++ cg-tag 2006-11-08 20:59:30.000000000 +0100
@@ -105,7 +105,7 @@
for msg in "${msgs[@]}"; do
[ "$written" ] && echo >>"$LOGMSG"
- echo "$msg" | fmt -s >>"$LOGMSG"
+ echo "$msg" | fmt >>"$LOGMSG"
written=1
done
[-- Attachment #4: patch-ad --]
[-- Type: text/plain, Size: 381 bytes --]
$NetBSD: patch-ad,v 1.1 2006/12/03 22:15:48 rillig Exp $
See PR 35147.
--- cg-commit.orig 2006-09-29 13:58:15.000000000 +0200
+++ cg-commit 2006-12-03 23:01:18.000000000 +0100
@@ -382,7 +382,7 @@ elif [ "$merging" ]; then
fi
for msg in "${msgs[@]}"; do
[ "$written" ] && echo >>"$LOGMSG"
- echo "$msg" | fmt -s >>"$LOGMSG"
+ echo "$msg" | fmt >>"$LOGMSG"
written=1
done
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-10 20:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-10 20:21 cogito-0.18.2: Portability problems with utility arguments Thomas Klausner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).