summaryrefslogtreecommitdiff
path: root/print/psutils-letter/files/patch-psnup.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-04-24 04:13:09 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-04-24 04:13:09 +0000
commit5f8eb67e3760459c0834c08f36d9e502d3388e3a (patch)
treeb0094c17ab958c91c23c0e89d3bb437c5adf6982 /print/psutils-letter/files/patch-psnup.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).
Diffstat (limited to 'print/psutils-letter/files/patch-psnup.c')
-rw-r--r--print/psutils-letter/files/patch-psnup.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/print/psutils-letter/files/patch-psnup.c b/print/psutils-letter/files/patch-psnup.c
deleted file mode 100644
index 31ce03a9e268..000000000000
--- a/print/psutils-letter/files/patch-psnup.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- psnup.c.orig 2011-06-21 04:22:34.000000000 +0900
-+++ psnup.c 2011-06-21 04:22:46.000000000 +0900
-@@ -66,7 +66,7 @@
- return (0);
- }
-
--void main(int argc, char *argv[])
-+int main(int argc, char *argv[])
- {
- int horiz, vert, rotate, column, flip, leftright, topbottom;
- int nup = 1;
-@@ -331,6 +331,6 @@
- pstops(nup, 1, 0, specs, draw); /* do page rearrangement */
- }
-
-- exit(0);
-+ return (0);
- }
-