git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Klausner <tk@giga.or.at>
To: git@vger.kernel.org
Subject: cogito-0.18.2: Portability problems with utility arguments
Date: Sat, 10 Mar 2007 21:21:43 +0100	[thread overview]
Message-ID: <20070310202143.GA25193@danbala.tuwien.ac.at> (raw)

[-- 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
 

                 reply	other threads:[~2007-03-10 20:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070310202143.GA25193@danbala.tuwien.ac.at \
    --to=tk@giga.or.at \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).