pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/35020: devel/cogito invokes xargs and fmt with unsupported options on NetBSD
>Number: 35020
>Category: pkg
>Synopsis: devel/cogito invokes xargs and fmt with unsupported options on
>NetBSD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 08 20:10:00 +0000 2006
>Originator: Anthony Mallet
>Release: NetBSD 4.99.3 i386
>Organization:
>Environment:
System: NetBSD 4.99.3 (FICUS) #25: Sat Sep 30 23:07:01 CEST 2006
tho@ficus:/usr/obj/sys/arch/i386/compile/FICUS
>Description:
cogito-0.18 sometimes invokes xargs and fmt with 'gnu' options (--null for
xargs(1) and -s for fmt(1)).
Two attached patches fix this.
>How-To-Repeat:
>Fix:
--- patch-ab begins here ---
$NetBSD$
--- cg-Xlib~ 2006-09-29 13:58:15.000000000 +0200
+++ cg-Xlib 2006-11-08 20:56:27.000000000 +0100
@@ -600,7 +600,7 @@
# 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.
--- patch-ab ends here ---
--- patch-ac begins here ---
$NetBSD$
--- 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
--- patch-ac ends here ---
Home |
Main Index |
Thread Index |
Old Index