summaryrefslogtreecommitdiff
path: root/sysutils/du2ps/files/patch-ab
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2001-06-26 21:03:15 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2001-06-26 21:03:15 +0000
commit88f263f5c04bb0bf122e69c2b4cf5ec8cd984635 (patch)
tree4bbcba274b2e227f346386ef016171cc5bbe8ff5 /sysutils/du2ps/files/patch-ab
parentUpdate port to version 0.0.6E.4F.4. (diff)
Add du2ps 2.1, filter for converting output of du to PostScript file.
PR: 27848 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
Notes
Notes: svn path=/head/; revision=44477
Diffstat (limited to 'sysutils/du2ps/files/patch-ab')
-rw-r--r--sysutils/du2ps/files/patch-ab21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/du2ps/files/patch-ab b/sysutils/du2ps/files/patch-ab
new file mode 100644
index 000000000000..7e8944605476
--- /dev/null
+++ b/sysutils/du2ps/files/patch-ab
@@ -0,0 +1,21 @@
+--- getopt.c.orig Wed Mar 16 11:41:27 1994
++++ getopt.c Fri Jun 1 15:40:02 2001
+@@ -22,6 +22,7 @@
+ "du2ps [options] < infile > outfile",
+ "OPTIONS:",
+ " -land ... landscape",
++ " -a3 ... A3",
+ " -b4 ... B4",
+ " -b5 ... B5",
+ " -us ... US letter",
+@@ -62,6 +63,10 @@
+ i++;
+ } else if(!strcmp("-sa", argv[i])){
+ cmp = cmp_alph;
++ i++;
++ } else if(!strcmp("-a3", argv[i])){
++ paper_width = A3_WIDTH;
++ paper_height = A3_HEIGHT;
+ i++;
+ } else if(!strcmp("-b4", argv[i])){
+ paper_width = B4_WIDTH;