From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 14 14:50:02 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 88FEF16A406 for ; Sat, 14 Jul 2007 14:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 6B7FE13C471 for ; Sat, 14 Jul 2007 14:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6EEo2Tn018015 for ; Sat, 14 Jul 2007 14:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6EEo2Qs018014; Sat, 14 Jul 2007 14:50:02 GMT (envelope-from gnats) Resent-Date: Sat, 14 Jul 2007 14:50:02 GMT Resent-Message-Id: <200707141450.l6EEo2Qs018014@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, Mike Meyer Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DE4016A406 for ; Sat, 14 Jul 2007 14:46:38 +0000 (UTC) (envelope-from mwm@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id 9A74213C4A5 for ; Sat, 14 Jul 2007 14:46:37 +0000 (UTC) (envelope-from mwm@mired.org) Received: (qmail 74380 invoked by uid 1001); 14 Jul 2007 14:44:06 -0000 Message-Id: <20070714144406.74379.qmail@mired.org> Date: 14 Jul 2007 14:44:06 -0000 From: Mike Meyer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/114583: unixstat port doesn't build packages properly on -CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Meyer List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2007 14:50:02 -0000 >Number: 114583 >Category: ports >Synopsis: unixstat port doesn't build packages properly on -CURRENT >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jul 14 14:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Mike Meyer >Release: FreeBSD 6.2-STABLE amd64 >Organization: Meyer Consultign >Environment: System: FreeBSD bhuda.mired.org 6.2-STABLE FreeBSD 6.2-STABLE #6: Sun Jun 3 04:17:59 EDT 2007 mwm@bhuda.mired.org:/usr/src/sys/amd64/compile/BHUDA amd64 >Description: The unixstat package fails to build one of it's binaries when compiled with gcc 4.2 on -CURRENT. While building and installing ignores this, it breaks the package (but we can't distribute a package....) >How-To-Repeat: cd /usr/ports/math/unixstat; make package >Fix: This patch provides a patch so it will build, and also picks some lint out of the port. diff -ur unixstat.old/Makefile unixstat/Makefile --- unixstat.old/Makefile Tue Aug 2 21:14:44 2005 +++ unixstat/Makefile Sat Jul 14 10:40:50 2007 @@ -16,7 +16,7 @@ MAINTAINER= mwm@mired.org COMMENT= A statistics package designed for use with the Unix shell -RESTRICTED= "License does not allow redistribution of binaries" +RESTRICTED= License does not allow mass redistribution. .include diff -ur unixstat.old/distinfo unixstat/distinfo --- unixstat.old/distinfo Sun Nov 25 03:59:45 2001 +++ unixstat/distinfo Sat Jul 14 10:35:21 2007 @@ -1 +1,3 @@ MD5 (stat.tar.Z) = b0ebafb7141e3e768d2dd3bd9197a392 +SHA256 (stat.tar.Z) = 1ea41c4a7350c7bdb50ca7529c2d44819a2b2d73b74c2a98e636829f2964dd34 +SIZE (stat.tar.Z) = 591053 diff -ur unixstat.old/files/patch-src unixstat/files/patch-src --- unixstat.old/files/patch-src Tue Feb 22 07:33:28 2005 +++ unixstat/files/patch-src Sat Jul 14 10:30:34 2007 @@ -53,3 +53,30 @@ if (isatty (fileno (stdin))) { Interactive = 1; +*** /tmp/perm.c.orig Sat Jul 14 18:22:36 2007 +--- src/perm.c Sat Jul 14 18:23:06 2007 +*************** +*** 19,29 **** + Boole InfoLimits; /* print program limits */ + Boole InfoOptions; /* print usage information */ + +! int jpossible Cdecl ((char **array, int n, int * choice, int i)); +! int jgetunused Cdecl ((char **array, int n, int i)); +! int jchoose Cdecl ((char **array, int n, int *choice, int i)); + Status jstrpermut Cdecl ((char **array, int n)); +! void jprint Cdecl ((char *name, char **array, int n)); + void strpermut Cdecl ((char **array, int size)); + int initial Cdecl ((int argc, char **argv)); + void usinfo Cdecl ((void)); +--- 19,29 ---- + Boole InfoLimits; /* print program limits */ + Boole InfoOptions; /* print usage information */ + +! static int jpossible Cdecl ((char **array, int n, int * choice, int i)); +! static int jgetunused Cdecl ((char **array, int n, int i)); +! static int jchoose Cdecl ((char **array, int n, int *choice, int i)); + Status jstrpermut Cdecl ((char **array, int n)); +! static void jprint Cdecl ((char *name, char **array, int n)); + void strpermut Cdecl ((char **array, int size)); + int initial Cdecl ((int argc, char **argv)); + void usinfo Cdecl ((void)); >Release-Note: >Audit-Trail: >Unformatted: