From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 14 18:50:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 354CB1065677 for ; Wed, 14 Jul 2010 18:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ECEA28FC0C for ; Wed, 14 Jul 2010 18:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6EIo1Uu005705 for ; Wed, 14 Jul 2010 18:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6EIo1Wq005704; Wed, 14 Jul 2010 18:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 14 Jul 2010 18:50:01 GMT Resent-Message-Id: <201007141850.o6EIo1Wq005704@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anonymous Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5E931065673 for ; Wed, 14 Jul 2010 18:42:31 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 378288FC12 for ; Wed, 14 Jul 2010 18:42:30 +0000 (UTC) Received: by eyh6 with SMTP id 6so15139eyh.13 for ; Wed, 14 Jul 2010 11:42:30 -0700 (PDT) Received: by 10.213.14.205 with SMTP id h13mr1739969eba.90.1279132949947; Wed, 14 Jul 2010 11:42:29 -0700 (PDT) Received: from localhost (tor.anonymizer.ccc.de [217.114.211.20]) by mx.google.com with ESMTPS id a48sm419032eei.18.2010.07.14.11.42.26 (version=SSLv3 cipher=RC4-MD5); Wed, 14 Jul 2010 11:42:29 -0700 (PDT) Message-Id: <86wrsx9a7r.fsf@gmail.com> Date: Wed, 14 Jul 2010 22:42:16 +0400 From: Anonymous To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/148604: [patch] textproc/diffstat: prefer xz(1) over lzcat(1) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2010 18:50:02 -0000 >Number: 148604 >Category: ports >Synopsis: [patch] textproc/diffstat: prefer xz(1) over lzcat(1) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 14 18:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: lzcat(1) is not required to support XZ format. Moreover, lzcat(1) in /head and in archivers/xz does *not* support it. And that is what is usually used for XZ_CMD when USE_XZ is defined. >How-To-Repeat: $ diffstat iconv-20100708.diff.xz lzcat: iconv-20100708.diff.xz: File format not recognized 0 files changed >Fix: --- a.diff begins here --- Index: textproc/diffstat/Makefile =================================================================== RCS file: /a/.cvsup/ports/textproc/diffstat/Makefile,v retrieving revision 1.30 diff -u -p -r1.30 Makefile --- textproc/diffstat/Makefile 12 Dec 2009 05:23:57 -0000 1.30 +++ textproc/diffstat/Makefile 14 Jul 2010 18:34:45 -0000 @@ -20,6 +20,9 @@ MAKEFILE= makefile MAN1= diffstat.1 PLIST_FILES= bin/diffstat +post-patch: .SILENT + ${REINPLACE_CMD} 's/lzcat/xz/' ${WRKSRC}/configure + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/diffstat ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: