summaryrefslogtreecommitdiff
path: root/net/ipv6socket_scrub/files/patch-aa
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2002-04-22 13:14:50 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2002-04-22 13:14:50 +0000
commit37c1ec7bae2b0cfdfc54af12903733066384a829 (patch)
treeb9cc41e29032d87c5608c26d7824659218f1ac29 /net/ipv6socket_scrub/files/patch-aa
parentUpgrade to 0.40. (diff)
The ipv6socket_scrub utility searches recursively through
the current directory (the default) or any specified directory or file to find IPv4 socket code that may be a candidate for modification when porting to the IPv6 socket API. The utility is designed to run from a Solaris machine. WWW: http://www.sun.com/solaris/ipv6 PR: ports/36208 Submitted by: Janos Mohacsi <janos.mohacsi@dante.org.uk>
Notes
Notes: svn path=/head/; revision=57982
Diffstat (limited to 'net/ipv6socket_scrub/files/patch-aa')
-rw-r--r--net/ipv6socket_scrub/files/patch-aa31
1 files changed, 31 insertions, 0 deletions
diff --git a/net/ipv6socket_scrub/files/patch-aa b/net/ipv6socket_scrub/files/patch-aa
new file mode 100644
index 000000000000..80e51f07aa82
--- /dev/null
+++ b/net/ipv6socket_scrub/files/patch-aa
@@ -0,0 +1,31 @@
+--- ipv6socket_scrub.c.orig Fri Oct 15 05:51:40 1999
++++ ipv6socket_scrub.c Mon Feb 5 11:26:41 2001
+@@ -32,4 +32,5 @@
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <pwd.h>
+ #include <sys/types.h>
+@@ -309,5 +310,5 @@
+ -e 's/#.*else/_#_else/' \
+ %s | \
+- /usr/ccs/lib/cpp -BP 2>&1 | \
++ /usr/bin/cpp -P 2>&1 | \
+ /usr/bin/sed -e 's/_#_include/#include/' \
+ -e 's/_#_end/#end/' \
+@@ -665,6 +666,6 @@
+
+ if ((stat("/usr/bin/sed", &statbuff) == -1) ||
+- stat("/usr/ccs/lib/cpp", &statbuff) == -1) {
+- fprintf (stderr, "\nCannot find /usr/bin/sed and/or /usr/ccs/lib/cpp -BP.\n Terminating...\n");
++ stat("/usr/bin/cpp", &statbuff) == -1) {
++ fprintf (stderr, "\nCannot find /usr/bin/sed and/or /usr/bin/cpp -P.\n Terminating...\n");
+ exit (2);
+
+@@ -1344,5 +1345,5 @@
+
+ if (check_file (buf,ignore_conf,pri_conf,sec_conf,fo1,fo2,tmpfile)) {
+- fprintf (stderr, "\nCannot process file %s. Cannot find /usr/bin/sed and/or /usr/ccs/lib/cpp -BP.\n Terminating...\n",buf);
++ fprintf (stderr, "\nCannot process file %s. Cannot find /usr/bin/sed and/or /usr/bin/cpp -P.\n Terminating...\n",buf);
+ unlink(tmpfile);
+ exit (2);