1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/audio/radio/files/patch-ad
Chris Piazza b8585c7f5c a) make the radio port install in PREFIX (from submitter)
b) split up the single patch file into multiple patch files

PR:	12211
Submitted by:	Nick Hibma <nick.hibma@jrc.it>
1999-06-19 09:50:04 +00:00

37 lines
865 B
Plaintext

*** socklib.c.orig Mon May 17 01:46:25 1993
--- socklib.c Sat Jun 19 02:36:48 1999
***************
*** 76,82 ****
}
#endif
! if (bind(s, &sin, sizeof sin) < 0) {
sprintf(desc,"bind(%s)", sockdesc);
perror(desc);
close(s);
--- 76,82 ----
}
#endif
! if (bind(s, (struct sockaddr *)&sin, sizeof sin) < 0) {
sprintf(desc,"bind(%s)", sockdesc);
perror(desc);
close(s);
***************
*** 88,94 ****
setipaddr(remotename, &sin);
sin.sin_port = htons(remoteport);
! if (connect(s, &sin, sizeof sin) < 0) {
sprintf(desc, "connect(%s)", sockdesc);
perror(desc);
close(s);
--- 88,94 ----
setipaddr(remotename, &sin);
sin.sin_port = htons(remoteport);
! if (connect(s, (struct sockaddr *)&sin, sizeof sin) < 0) {
sprintf(desc, "connect(%s)", sockdesc);
perror(desc);
close(s);