Commit graph

1 commit

Author SHA1 Message Date
Beech Rintoul
eed55a04f6 - The ftp/mirror port's lchat.pl file uses the old pack('S n a4 x8', ...)
method for constructing a sockaddr_in to pass to connect().
  This approach breaks on more recent FreeBSDs which are more strict about
  the first two bytes of sockaddr_in.

- Patch modifies lchat.pl to use perl's &Socket'pack_sockaddr_in and
  &Socket'unpack_sockaddr_in functions to do the right thing.

PR:		ports/131911
Submitted by:	G. Paul Ziemba <p-fbsd-bugs@ziemba.us>
2009-02-22 20:46:47 +00:00