diff options
author | kris <kris@FreeBSD.org> | 2002-06-03 09:36:38 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-06-03 09:36:38 +0800 |
commit | 1394a91111c4856b2b99dafaa0c8a1e6da8139f1 (patch) | |
tree | dc9e512d12b1096e43deac8f79afa363fdec4cfd /net/ns | |
parent | 1a775707319dcc4181873ee299df7d5d2f26fc79 (diff) | |
download | freebsd-ports-gnome-1394a91111c4856b2b99dafaa0c8a1e6da8139f1.tar.gz freebsd-ports-gnome-1394a91111c4856b2b99dafaa0c8a1e6da8139f1.tar.zst freebsd-ports-gnome-1394a91111c4856b2b99dafaa0c8a1e6da8139f1.zip |
Add patches to get 2.1.b9 to compile
Diffstat (limited to 'net/ns')
-rw-r--r-- | net/ns/files/patch-aa | 10 | ||||
-rw-r--r-- | net/ns/files/patch-ab | 32 |
2 files changed, 42 insertions, 0 deletions
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<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) |