Add tcl package from #3980
[openwrt/svn-archive/archive.git] / lang / tcl / patches / 002-strstr.patch
1 --- tcl8.4.12/compat/strstr.c 2005-04-12 20:28:56.000000000 +0200
2 +++ tcl/compat/strstr.c 2005-12-19 13:35:52.087181048 +0100
3 @@ -37,7 +37,9 @@
4 *
5 *----------------------------------------------------------------------
6 */
7 -
8 +#ifndef NULL
9 +#define NULL
10 +#endif
11 char *
12 strstr(string, substring)
13 register char *string; /* String to search. */