diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-04-24 04:13:09 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-04-24 04:13:09 +0000 |
commit | 5f8eb67e3760459c0834c08f36d9e502d3388e3a (patch) | |
tree | b0094c17ab958c91c23c0e89d3bb437c5adf6982 /print/psutils/files/patch-psbook.c | |
parent | - Add patch to prevent deletion of /dev/null (diff) |
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).
Notes
Notes:
svn path=/head/; revision=316401
Diffstat (limited to 'print/psutils/files/patch-psbook.c')
-rw-r--r-- | print/psutils/files/patch-psbook.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/print/psutils/files/patch-psbook.c b/print/psutils/files/patch-psbook.c new file mode 100644 index 000000000000..b19ce81deeac --- /dev/null +++ b/print/psutils/files/patch-psbook.c @@ -0,0 +1,18 @@ +--- psbook.c.orig 2011-06-21 04:19:12.000000000 +0900 ++++ psbook.c 2011-06-21 04:19:36.000000000 +0900 +@@ -32,7 +32,7 @@ + } + + +-void main(int argc, char *argv[]) ++int main(int argc, char *argv[]) + { + int signature = 0; + int currentpg, maxpage; +@@ -107,5 +107,5 @@ + } + writetrailer(); + +- exit(0); ++ return (0); + } |