diff options
author | nork <nork@FreeBSD.org> | 2004-03-21 08:59:21 +0000 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2004-03-21 08:59:21 +0000 |
commit | e9ce18156e5e4bd85453b5516c17363af28051dc (patch) | |
tree | 0435c06e7c81ba6dff883dbbb4786175336fa2f6 /sysutils | |
parent | e157b49b80dda06bb2dde7822777cc11515628b3 (diff) | |
download | FreeBSD-ports-e9ce18156e5e4bd85453b5516c17363af28051dc.zip FreeBSD-ports-e9ce18156e5e4bd85453b5516c17363af28051dc.tar.gz |
o Update MASTERE_SITES.
o Some fix (NULL != NUL, void main -> int main).
o Update archive md5.
some bug fix in new archive(this was released after 19 hours than old one).
Submitted by: Yoshihiko - he is in seat next mine in jammed
Chuou Highway - Sarumaru <mistral@imasy.or.jp> (maintainer)
Committed at: jammed Chuou Highway in Japan
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/du2ps/Makefile | 3 | ||||
-rw-r--r-- | sysutils/du2ps/distinfo | 3 | ||||
-rw-r--r-- | sysutils/du2ps/files/patch-ac | 36 | ||||
-rw-r--r-- | sysutils/du2ps/files/patch-du2ps.c | 11 |
4 files changed, 48 insertions, 5 deletions
diff --git a/sysutils/du2ps/Makefile b/sysutils/du2ps/Makefile index db147c8..cedf143 100644 --- a/sysutils/du2ps/Makefile +++ b/sysutils/du2ps/Makefile @@ -7,8 +7,9 @@ PORTNAME= du2ps PORTVERSION= 2.1 +PORTREVISION= 1 CATEGORIES= sysutils -MASTER_SITES= http://www.shobi-u.ac.jp/~tnagae/src/ps-c/du2ps/du2ps-2.1/ +MASTER_SITES= http://www.research.co.jp/software/du2ps/ EXTRACT_SUFX= .tgz MAINTAINER= mistral@imasy.or.jp diff --git a/sysutils/du2ps/distinfo b/sysutils/du2ps/distinfo index 00eab78..a0ca9aa 100644 --- a/sysutils/du2ps/distinfo +++ b/sysutils/du2ps/distinfo @@ -1 +1,2 @@ -MD5 (du2ps-2.1.tgz) = f39e4724cb1a8831f0355fbeb8d819a6 +MD5 (du2ps-2.1.tgz) = e0f1366513b1a257cfdb4676bb8c4f9c +SIZE (du2ps-2.1.tgz) = 9152 diff --git a/sysutils/du2ps/files/patch-ac b/sysutils/du2ps/files/patch-ac index 7b7471a..a979c3f 100644 --- a/sysutils/du2ps/files/patch-ac +++ b/sysutils/du2ps/files/patch-ac @@ -1,6 +1,6 @@ ---- nodeop.c.orig Tue Mar 15 18:15:58 1994 -+++ nodeop.c Wed Jun 6 15:03:28 2001 -@@ -142,7 +142,8 @@ +--- nodeop.c.orig Wed Mar 16 13:10:45 1994 ++++ nodeop.c Sun Mar 21 17:44:55 2004 +@@ -142,7 +142,8 @@ int depth; /* for each child */ for(np = nodep->child; NODE_NULL != np; np = np->peer){ @@ -10,3 +10,33 @@ drawrect(np, y, height, depth); +@@ -172,9 +173,9 @@ parse() + if('/' == *n) n++; /* skip leading / */ + path[depth = 0] = n; + +- for(; NULL != *n; n++){ ++ for(; '\0' != *n; n++){ + if('/' == *n){ +- *n = NULL; ++ *n = '\0'; + path[++depth] = n + 1; + if(depth > MAXDEPTH) break; + } +@@ -193,7 +194,7 @@ parse() + + if (1 == top->nchild) { + top = top->child; +- while (NULL != *n) n++; ++ while ('\0' != *n) n++; + *n = '/'; + } + else if(1 < top->nchild){ +@@ -204,7 +205,7 @@ parse() + } + else break; + } +- *n = NULL; ++ *n = '\0'; + return strdup(name); + } + diff --git a/sysutils/du2ps/files/patch-du2ps.c b/sysutils/du2ps/files/patch-du2ps.c new file mode 100644 index 0000000..17e0fdc --- /dev/null +++ b/sysutils/du2ps/files/patch-du2ps.c @@ -0,0 +1,11 @@ +--- du2ps.c.orig Wed Mar 16 11:41:16 1994 ++++ du2ps.c Sun Mar 21 17:36:26 2004 +@@ -57,7 +57,7 @@ + for(; NULL != *mes; mes++) puts(*mes); + } + +-void ++int + main(argc,argv) + int argc; + char **argv; |