diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-11-28 09:45:45 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-11-28 09:45:45 +0000 |
commit | 58e47a21fab02ef24f6b4f14da5fa02d0613c69e (patch) | |
tree | c09859e680140f9fb7a4843cb054b99350fae95c /japanese/libicq/files/patch-ad | |
parent | - Update to 2.26.0 (diff) |
2012-11-27 devel/p5-SPOPS: Depend on the expired p5-Class-Fields
2012-11-26 textproc/lemmatizer: No more public distfiles
2012-11-26 net/relay: No more public distfiles
2012-11-26 x11-clocks/bmp-alarm: No more public distfiles
2012-11-26 net-mgmt/nagios-check_ice: No more public distfiles
2012-11-26 japanese/libicq: No more public distfiles and development ceased
2012-11-26 graphics/tonicpoint-viewer: No more public distfiles
2012-11-26 devel/safestr: No more public distfiles
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=307896
Diffstat (limited to 'japanese/libicq/files/patch-ad')
-rw-r--r-- | japanese/libicq/files/patch-ad | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/japanese/libicq/files/patch-ad b/japanese/libicq/files/patch-ad deleted file mode 100644 index ba3b41a090d2..000000000000 --- a/japanese/libicq/files/patch-ad +++ /dev/null @@ -1,50 +0,0 @@ ---- src/send.c.orig Thu Nov 11 17:16:26 1999 -+++ src/send.c Thu Nov 11 17:18:50 1999 -@@ -139,6 +139,17 @@ - fprintf(stderr, "\nSocket creation failed."); - exit(1); - } -+ -+#ifdef IP_PORTRANGE -+ { -+ int i=IP_PORTRANGE_HIGH; -+ if (setsockopt(sok, IPPROTO_IP, IP_PORTRANGE, &i, sizeof(i))<0) -+ { -+ fprintf(stderr, "\nSocket range selection failed."); -+ exit(1); -+ } -+ } -+#endif - - if(Verbose & ICQ_VERB_INFO) - printf("\nSocket created. Attempting to connect..." ); -@@ -170,6 +181,12 @@ - bzero(&(sin.sin_zero), 8); - - tcp_sok = socket(AF_INET, SOCK_STREAM, 0); -+#if IP_PORTRANGE -+ { -+ int i=IP_PORTRANGE_HIGH; -+ setsockopt(tcp_sok, IPPROTO_IP, IP_PORTRANGE, &i, sizeof(i)); -+ } -+#endif - setsockopt(tcp_sok, SOL_SOCKET, SO_REUSEADDR, &retval, 4); - set_nonblock(tcp_sok); - retval = bind(tcp_sok, (struct sockaddr*)&sin, sizeof(sin)); ---- src/tcp.c.orig Thu Nov 11 17:20:01 1999 -+++ src/tcp.c Thu Nov 11 17:20:02 1999 -@@ -608,6 +608,14 @@ - sock = socket(AF_INET, SOCK_STREAM, 0); - if(sock == -1) return -1; - -+#ifdef IP_PORTRANGE -+ { -+ int i=IP_PORTRANGE_HIGH; -+ if (setsockopt(sock, IPPROTO_IP, IP_PORTRANGE, &i, sizeof(i))<0) -+ return -1; -+ } -+#endif -+ - set_nonblock(sock); - - if((bind(sock, (struct sockaddr*)&local, sizeof(struct sockaddr))) == -1) |