aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2001-04-03 11:31:19 +0000
committerMichael Haro <mharo@FreeBSD.org>2001-04-03 11:31:19 +0000
commit884806fb194f036dca1ad8eef7c8b0c23dc744c5 (patch)
tree306b59d05d91a90e79ac9f546a7579e2dd0887d6
parentf6f248bbce5b9f7efcba9b2044376323de4b11f7 (diff)
downloadports-884806fb194f036dca1ad8eef7c8b0c23dc744c5.tar.gz
ports-884806fb194f036dca1ad8eef7c8b0c23dc744c5.zip
Easier to read patch
Notes
Notes: svn path=/head/; revision=40800
-rw-r--r--lang/clisp/files/patch-ab52
1 files changed, 19 insertions, 33 deletions
diff --git a/lang/clisp/files/patch-ab b/lang/clisp/files/patch-ab
index 7106dd897ba7..2755d092561d 100644
--- a/lang/clisp/files/patch-ab
+++ b/lang/clisp/files/patch-ab
@@ -1,33 +1,19 @@
-*** src/socket.d.orig Fri Jan 14 10:06:05 2000
---- src/socket.d Tue Aug 22 23:42:49 2000
-***************
-*** 299,312 ****
- {
- #ifdef HAVE_INET_PTON
- #ifdef HAVE_IPV6
-! { var struct sockaddr_in6 inaddr;
- if (inet_pton(AF_INET6,host,&inaddr.sin6_addr) > 0)
- { inaddr.sin6_family = AF_INET6;
- inaddr.sin6_port = htons(port);
- return connector((struct sockaddr *) &inaddr, sizeof(struct sockaddr_in6));
- } }
- #endif
-! { var struct sockaddr_in inaddr;
- if (inet_pton(AF_INET,host,&inaddr.sin_addr) > 0)
- { inaddr.sin_family = AF_INET;
- inaddr.sin_port = htons(port);
---- 299,312 ----
- {
- #ifdef HAVE_INET_PTON
- #ifdef HAVE_IPV6
-! { var struct sockaddr_in6 inaddr = {0};
- if (inet_pton(AF_INET6,host,&inaddr.sin6_addr) > 0)
- { inaddr.sin6_family = AF_INET6;
- inaddr.sin6_port = htons(port);
- return connector((struct sockaddr *) &inaddr, sizeof(struct sockaddr_in6));
- } }
- #endif
-! { var struct sockaddr_in inaddr = {0};
- if (inet_pton(AF_INET,host,&inaddr.sin_addr) > 0)
- { inaddr.sin_family = AF_INET;
- inaddr.sin_port = htons(port);
+--- src/socket.d.orig Fri Jan 14 07:06:05 2000
++++ src/socket.d Tue Apr 3 03:07:32 2001
+@@ -299,14 +299,14 @@
+ {
+ #ifdef HAVE_INET_PTON
+ #ifdef HAVE_IPV6
+- { var struct sockaddr_in6 inaddr;
++ { var struct sockaddr_in6 inaddr = {0};
+ if (inet_pton(AF_INET6,host,&inaddr.sin6_addr) > 0)
+ { inaddr.sin6_family = AF_INET6;
+ inaddr.sin6_port = htons(port);
+ return connector((struct sockaddr *) &inaddr, sizeof(struct sockaddr_in6));
+ } }
+ #endif
+- { var struct sockaddr_in inaddr;
++ { var struct sockaddr_in inaddr = {0};
+ if (inet_pton(AF_INET,host,&inaddr.sin_addr) > 0)
+ { inaddr.sin_family = AF_INET;
+ inaddr.sin_port = htons(port);