From 5f8eb67e3760459c0834c08f36d9e502d3388e3a Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Wed, 24 Apr 2013 04:13:09 +0000 Subject: Merge print/psutils-a4 and print/psutils-letter into a single port print/psutils. The default paper size in the programs can be set via libpaper ($PAPERSIZE or etc/papersize configuration file). --- print/psutils/files/patch-psselect.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 print/psutils/files/patch-psselect.c (limited to 'print/psutils/files/patch-psselect.c') diff --git a/print/psutils/files/patch-psselect.c b/print/psutils/files/patch-psselect.c new file mode 100644 index 000000000000..85cb97ccf773 --- /dev/null +++ b/print/psutils/files/patch-psselect.c @@ -0,0 +1,18 @@ +--- psselect.c.orig 2011-06-21 04:20:51.000000000 +0900 ++++ psselect.c 2011-06-21 04:21:08.000000000 +0900 +@@ -91,7 +91,7 @@ + } + + +-void main(int argc, char *argv[]) ++int main(int argc, char *argv[]) + { + int currentpg, maxpage = 0; + int even = 0, odd = 0, reverse = 0; +@@ -235,5 +235,5 @@ + } + writetrailer(); + +- exit(0); ++ return (0); + } -- cgit v1.2.3