From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 22 02:20:34 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B48AF16A4CE for ; Tue, 22 Jun 2004 02:20:34 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9958943D41 for ; Tue, 22 Jun 2004 02:20:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5M2KN1b023050 for ; Tue, 22 Jun 2004 02:20:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5M2KNY3023049; Tue, 22 Jun 2004 02:20:23 GMT (envelope-from gnats) Resent-Date: Tue, 22 Jun 2004 02:20:23 GMT Resent-Message-Id: <200406220220.i5M2KNY3023049@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, Chris Pressey Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6027216A4CE for ; Tue, 22 Jun 2004 02:10:56 +0000 (GMT) Received: from catseye.mine.nu (d154-20-76-195.bchsia.telus.net [154.20.76.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 1A33943D5C for ; Tue, 22 Jun 2004 02:10:56 +0000 (GMT) (envelope-from catseye@catseye.mine.nu) Received: (qmail 73716 invoked by uid 1001); 22 Jun 2004 02:10:18 -0000 Message-Id: <20040622021018.73715.qmail@catseye.mine.nu> Date: 22 Jun 2004 02:10:18 -0000 From: Chris Pressey To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Robin.Miller@hp.com Subject: ports/68186: [PATCH] update sysutils/dt port to 15.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Chris Pressey List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 02:20:34 -0000 >Number: 68186 >Category: ports >Synopsis: [PATCH] update sysutils/dt port to 15.6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jun 22 02:20:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Chris Pressey >Release: FreeBSD 4.9-STABLE i386 >Organization: Cat's Eye Technologies >Environment: System: FreeBSD catseye.biscuit.boo 4.9-STABLE FreeBSD 4.9-STABLE #0: Wed Dec 17 15:25:44 PST 2003 root@catseye.biscuit.boo:/usr/obj/usr/src/sys/CATSEYE i386 >Description: The latest version of the 'dt' utility is 15.6. The attached patch updates the FreeBSD port to this version. The Makefile now needs to be patched - for whatever reason, _BSD_SOURCE is not defined and this causes large_t to be typedef'd as a double, which in turn causes a compilation error when a large_t appears on the RHS of a modulus operation in dtutil.c. The software author has been cc'ed on this PR in the hopes of this fix travelling upstream. Also, the same patch makes the port honour the system-wide setting of CFLAGS as recommended by the Porter's Handbook. >How-To-Repeat: n/a >Fix: Apply the following patch in the ports/sysutils directory. --- dt.diff begins here --- diff -ruN dt.old/Makefile dt/Makefile --- dt.old/Makefile 2004-02-19 01:29:55.000000000 -0800 +++ dt/Makefile 2004-06-16 15:59:52.000000000 -0700 @@ -6,7 +6,7 @@ # PORTNAME= dt -PORTVERSION= 14.39 +PORTVERSION= 15.6 CATEGORIES= sysutils MASTER_SITES= http://www.bit-net.com/~rmiller/ftp/dt/ DISTNAME= dt-source diff -ruN dt.old/distinfo dt/distinfo --- dt.old/distinfo 2004-03-06 02:43:13.000000000 -0800 +++ dt/distinfo 2004-06-16 16:00:19.000000000 -0700 @@ -1,2 +1,2 @@ -MD5 (dt-source.tar.gz) = 4c43d4e54864c9a66b56c87764399f39 -SIZE (dt-source.tar.gz) = 960595 +MD5 (dt-source.tar.gz) = 64226edc9059521884838d993cc77f20 +SIZE (dt-source.tar.gz) = 971475 diff -ruN dt.old/files/patch-Makefile.freebsd dt/files/patch-Makefile.freebsd --- dt.old/files/patch-Makefile.freebsd 1969-12-31 16:00:00.000000000 -0800 +++ dt/files/patch-Makefile.freebsd 2004-06-21 17:11:39.000000000 -0700 @@ -0,0 +1,11 @@ +--- Makefile.freebsd.orig 2004-02-13 14:27:00.000000000 -0800 ++++ Makefile.freebsd 2004-06-21 17:11:28.000000000 -0700 +@@ -74,7 +74,7 @@ + PORG = -O + + AWK= awk +-CFLAGS= $(PORG) -DAIO -DFIFO -DMMAP -DTTY -DFreeBSD ++CFLAGS+=$(PORG) -DAIO -DFIFO -DMMAP -DTTY -DFreeBSD -D_BSD_SOURCE + CPP= /usr/bin/cpp + CPPOPTS= + LDFLAGS= --- dt.diff ends here --- For the author's convenience, here is the fixup patch alone. --- patch-Makefile.freebsd begins here --- --- Makefile.freebsd.orig 2004-02-13 14:27:00.000000000 -0800 +++ Makefile.freebsd 2004-06-21 17:11:28.000000000 -0700 @@ -74,7 +74,7 @@ PORG = -O AWK= awk -CFLAGS= $(PORG) -DAIO -DFIFO -DMMAP -DTTY -DFreeBSD +CFLAGS+=$(PORG) -DAIO -DFIFO -DMMAP -DTTY -DFreeBSD -D_BSD_SOURCE CPP= /usr/bin/cpp CPPOPTS= LDFLAGS= --- patch-Makefile.freebsd ends here --- >Release-Note: >Audit-Trail: >Unformatted: