diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-07-14 17:07:46 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-07-14 17:07:46 +0000 |
commit | 23534aa6a6cdb38db4d4305051d97df0d4e7a438 (patch) | |
tree | e31e83db2ec68b0ea5131545c6f8955985d2e1c2 /math | |
parent | 8640099a715c84fd3226c8555a0271f83958045f (diff) | |
download | ports-23534aa6a6cdb38db4d4305051d97df0d4e7a438.tar.gz ports-23534aa6a6cdb38db4d4305051d97df0d4e7a438.zip |
- Fix build with gcc42
- Style
PR: ports/114583
Submitted by: Mike Meyer <mwm@mired.org> (maintainer)
Notes
Notes:
svn path=/head/; revision=195591
Diffstat (limited to 'math')
-rw-r--r-- | math/unixstat/Makefile | 7 | ||||
-rw-r--r-- | math/unixstat/distinfo | 2 | ||||
-rw-r--r-- | math/unixstat/files/patch-src | 27 |
3 files changed, 30 insertions, 6 deletions
diff --git a/math/unixstat/Makefile b/math/unixstat/Makefile index 0fbfcabb5806..974bd79127fd 100644 --- a/math/unixstat/Makefile +++ b/math/unixstat/Makefile @@ -16,15 +16,10 @@ EXTRACT_SUFX= .tar.Z 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 <bsd.port.pre.mk> -.if ( ${OSVERSION} < 500000 ) -EXTRACT_DEPENDS=gtar:${PORTSDIR}/archivers/gtar -TAR= gtar -.endif - EXTRACT_CMD= uncompress EXTRACT_BEFORE_ARGS=-c EXTRACT_AFTER_ARGS=| ${TAR} -xf - diff --git a/math/unixstat/distinfo b/math/unixstat/distinfo index 56de475a55e7..e390da49232c 100644 --- a/math/unixstat/distinfo +++ b/math/unixstat/distinfo @@ -1 +1,3 @@ MD5 (stat.tar.Z) = b0ebafb7141e3e768d2dd3bd9197a392 +SHA256 (stat.tar.Z) = 1ea41c4a7350c7bdb50ca7529c2d44819a2b2d73b74c2a98e636829f2964dd34 +SIZE (stat.tar.Z) = 591053 diff --git a/math/unixstat/files/patch-src b/math/unixstat/files/patch-src index 706524851cda..3aa26aabaf0b 100644 --- a/math/unixstat/files/patch-src +++ b/math/unixstat/files/patch-src @@ -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)); |