summaryrefslogtreecommitdiffstats
path: root/net/ns2
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-06-03 01:36:38 +0000
committerkris <kris@FreeBSD.org>2002-06-03 01:36:38 +0000
commit1394a91111c4856b2b99dafaa0c8a1e6da8139f1 (patch)
treedc9e512d12b1096e43deac8f79afa363fdec4cfd /net/ns2
parent1a775707319dcc4181873ee299df7d5d2f26fc79 (diff)
downloadFreeBSD-ports-1394a91111c4856b2b99dafaa0c8a1e6da8139f1.zip
FreeBSD-ports-1394a91111c4856b2b99dafaa0c8a1e6da8139f1.tar.gz
Add patches to get 2.1.b9 to compile
Diffstat (limited to 'net/ns2')
-rw-r--r--net/ns2/files/patch-aa10
-rw-r--r--net/ns2/files/patch-ab32
2 files changed, 42 insertions, 0 deletions
diff --git a/net/ns2/files/patch-aa b/net/ns2/files/patch-aa
new file mode 100644
index 0000000..b8119d7
--- /dev/null
+++ b/net/ns2/files/patch-aa
@@ -0,0 +1,10 @@
+--- indep-utils/webtrace-conv/ucb/utils.h.orig Tue May 28 17:13:35 2002
++++ indep-utils/webtrace-conv/ucb/utils.h Tue May 28 17:13:44 2002
+@@ -107,7 +107,6 @@
+
+ /************* A really dumb implementation of strnstr and strcasestr ***********/
+ char *dumb_strnstr(char *str, char *substr, int n);
+-const char *strcasestr(const char *string, const char *substr);
+
+ /*
+ ***************** Socket convenience utilities ****************
diff --git a/net/ns2/files/patch-ab b/net/ns2/files/patch-ab
new file mode 100644
index 0000000..54be008
--- /dev/null
+++ b/net/ns2/files/patch-ab
@@ -0,0 +1,32 @@
+--- indep-utils/webtrace-conv/ucb/utils.cc.orig Tue May 28 17:14:30 2002
++++ indep-utils/webtrace-conv/ucb/utils.cc Tue May 28 17:14:39 2002
+@@ -56,29 +56,6 @@
+ #include "utils.h"
+
+ /*
+- * Case-insensitive version of strstr()
+- */
+-
+-
+-const char *
+-strcasestr(const char *string, const char *substr)
+-{
+- int str_len, substr_len, cmplen, i;
+- const char *ptr;
+-
+- str_len = strlen(string);
+- substr_len = strlen(substr);
+- cmplen = str_len - substr_len + 1;
+-
+- for (ptr = string, i=0; i<cmplen; i++, ptr++) {
+- if (strncasecmp(ptr, substr, substr_len) == 0)
+- return ptr;
+- }
+- return NULL;
+-}
+-
+-
+-/*
+ ************* Dump out the hexification of the buffer ***********
+ */
+ void dump_buf(FILE *std, char *buf, int retlen)
OpenPOWER on IntegriCloud