du2ps is a similar program to xdu, but it generates result as PostScript file.
I found a bug in this program which I made a ports skelton. Here is an additional patch named patch-ac. Thanks ! # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # sysutils/du2ps/files/patch-ac # echo x - sysutils/du2ps/files/patch-ac sed 's/^X//' >sysutils/du2ps/files/patch-ac << 'END-of-sysutils/du2ps/files/patch-ac' X--- nodeop.c.orig Tue Mar 15 18:15:58 1994 X+++ nodeop.c Wed Jun 6 15:03:28 2001 X@@ -142,7 +142,8 @@ X X /* for each child */ X for(np = nodep->child; NODE_NULL != np; np = np->peer){ X- double height = h * np->size / nodep->size; X+ /* When nodep->size is 0, 'divided by zero' will be raised */ X+ double height = (nodep->size != 0 ? h * np->size / nodep->size : 0); X X drawrect(np, y, height, depth); X END-of-sysutils/du2ps/files/patch-ac exit
State Changed From-To: open->closed Committed, thanks! Next time, please use `portlint -N' for checking new port before send-pr.