diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2001-11-21 01:35:10 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2001-11-21 01:35:10 +0000 |
commit | fcb81602de14d7478f9d4de9bca307a0364a82c2 (patch) | |
tree | 504c425ec29cb3c5ef708aa20718ed6f69fbeb32 /print/a2ps-letter | |
parent | 6b3a37c4f52299e38e435815a546f4389f6912ca (diff) | |
download | ports-fcb81602de14d7478f9d4de9bca307a0364a82c2.tar.gz ports-fcb81602de14d7478f9d4de9bca307a0364a82c2.zip |
Notes
Diffstat (limited to 'print/a2ps-letter')
-rw-r--r-- | print/a2ps-letter/files/patch-lib::xgethostname.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/print/a2ps-letter/files/patch-lib::xgethostname.c b/print/a2ps-letter/files/patch-lib::xgethostname.c new file mode 100644 index 000000000000..06312ddf88e3 --- /dev/null +++ b/print/a2ps-letter/files/patch-lib::xgethostname.c @@ -0,0 +1,19 @@ +--- lib/xgethostname.c.orig Tue Nov 20 20:26:31 2001 ++++ lib/xgethostname.c Tue Nov 20 20:26:03 2001 +@@ -21,6 +21,7 @@ + # include <config.h> + #endif + ++#include <sys/param.h> + #include <sys/types.h> + + #include <errno.h> +@@ -38,7 +39,7 @@ + int gethostname (); + + #ifndef INITIAL_HOSTNAME_LENGTH +-# define INITIAL_HOSTNAME_LENGTH 34 ++# define INITIAL_HOSTNAME_LENGTH MAXHOSTNAMELEN + #endif + + char * |