ports/114583: unixstat port doesn't build packages properly on -CURRENT
Mike Meyer
mwm at mired.org
Sat Jul 14 14:50:02 UTC 2007
>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 at 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 at 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 <bsd.port.pre.mk>
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:
More information about the freebsd-ports-bugs
mailing list