From 1a5a0b985aab82ee34548099c1b5a007db116b82 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Mon, 3 Jun 2002 01:36:38 +0000 Subject: Add patches to get 2.1.b9 to compile --- net/ns/files/patch-aa | 10 ++++++++++ net/ns/files/patch-ab | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 net/ns/files/patch-aa create mode 100644 net/ns/files/patch-ab (limited to 'net/ns/files') diff --git a/net/ns/files/patch-aa b/net/ns/files/patch-aa new file mode 100644 index 000000000000..b8119d7daa46 --- /dev/null +++ b/net/ns/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/ns/files/patch-ab b/net/ns/files/patch-ab new file mode 100644 index 000000000000..54be008b310b --- /dev/null +++ b/net/ns/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