diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2011-06-20 19:35:51 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2011-06-20 19:35:51 +0000 |
commit | 9eb9521064d2f7443177dedf1076ba0df9681429 (patch) | |
tree | 4ee842524539332b4274349a3b7ff239b5df16dd /print/psutils-letter/files/patch-psselect.c | |
parent | - update to version 1.0 (diff) |
- Fix build when CC=clang.
- Style fixes.
- Add MASTER_SITES.
- Take maintainership.
PR: ports/158074
Notes
Notes:
svn path=/head/; revision=275920
Diffstat (limited to '')
-rw-r--r-- | print/psutils-letter/files/patch-psselect.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/print/psutils-letter/files/patch-psselect.c b/print/psutils-letter/files/patch-psselect.c new file mode 100644 index 000000000000..85cb97ccf773 --- /dev/null +++ b/print/psutils-letter/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); + } |