summaryrefslogtreecommitdiff
path: root/print/psutils/files/patch-psbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/psutils/files/patch-psbook.c')
-rw-r--r--print/psutils/files/patch-psbook.c18
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);
+ }