also install required files for HAVE_INCLUDES
[buildroot.git] / package / module-init-tools / module-init-tools-susv3-legacy.patch
blob1a2da285997febbb9f27c5a6c32a259d8fd06b0a
1 diff -ur module-init-tools-3.2.2/modprobe.c module-init-tools-3.2.2-patched/modprobe.c
2 --- module-init-tools-3.2.2/modprobe.c 2005-12-01 17:42:09.000000000 -0600
3 +++ module-init-tools-3.2.2-patched/modprobe.c 2006-12-04 19:50:50.353237649 -0600
4 @@ -270,7 +270,7 @@
5 char *modname;
7 /* Ignore lines without : or which start with a # */
8 - ptr = index(line, ':');
9 + ptr = strchr(line, ':');
10 if (ptr == NULL || line[strspn(line, "\t ")] == '#')
11 return 0;