diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-04-27 16:00:26 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-04-27 16:00:26 +0000 |
commit | 03156fbc9e57b8833d571c09fe86a65de05d8966 (patch) | |
tree | a41583195bf11eaddcc25d81461b4a49df2cefca /print/a2ps/files/patch-xgethostname.c | |
parent | - rename patch, since it's now applied uncoditionally and remove EXTRA_PATCHE... (diff) |
Add libpaper support to print/a2ps-*[1], print/c2ps-*, print/lprps-*,
graphics/jpeg2ps-*, and merge the papersize-suffixed versions into
single ones respectively as print/psutils did.
Approved by: dinoex (maintainer) [1]
Diffstat (limited to 'print/a2ps/files/patch-xgethostname.c')
-rw-r--r-- | print/a2ps/files/patch-xgethostname.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/print/a2ps/files/patch-xgethostname.c b/print/a2ps/files/patch-xgethostname.c new file mode 100644 index 000000000000..bfc7c33e0a6d --- /dev/null +++ b/print/a2ps/files/patch-xgethostname.c @@ -0,0 +1,12 @@ +--- lib/xgethostname.c Tue Sep 4 00:51:26 2001 ++++ lib/xgethostname.c.new Tue Sep 4 00:55:39 2001 +@@ -63,7 +63,7 @@ + if (err == 0 && hostname[k] == '\0') + break; + #ifdef ENAMETOOLONG +- else if (err != 0 && errno != ENAMETOOLONG && errno != 0) ++ else if (err != 0 && errno != ENAMETOOLONG && errno != ENOMEM && errno != 0) + error (EXIT_FAILURE, errno, "gethostname"); + #endif + size *= 2; + |