diff options
| author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-26 11:27:50 +0000 |
|---|---|---|
| committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-26 11:27:50 +0000 |
| commit | 33ebd14045389534271f051904f26ebad97a0bd0 (patch) | |
| tree | 1b8888f2e0cadaa7707418a4de9f39105b3c022d /meta/packages/module-init-tools/files | |
| parent | 2fe7cc5f9fdacc4321bddcbf132e32ddea21f59b (diff) | |
| download | poky-33ebd14045389534271f051904f26ebad97a0bd0.tar.gz | |
module-init-tools: fic uclibc build (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2994 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/module-init-tools/files')
| -rw-r--r-- | meta/packages/module-init-tools/files/module-init-tools-remove-index.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/module-init-tools/files/module-init-tools-remove-index.patch b/meta/packages/module-init-tools/files/module-init-tools-remove-index.patch new file mode 100644 index 0000000000..c56532e007 --- /dev/null +++ b/meta/packages/module-init-tools/files/module-init-tools-remove-index.patch | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/package/module-init-tools/module-init-tools-remove-index.patch?rev=16782&view=auto | ||
| 2 | |||
| 3 | diff -ur module-init-tools-3.2.2/modprobe.c module-init-tools-3.2.2-patched/modprobe.c | ||
| 4 | --- module-init-tools-3.2.2/modprobe.c 2005-12-01 17:42:09.000000000 -0600 | ||
| 5 | +++ module-init-tools-3.2.2-patched/modprobe.c 2006-12-04 19:50:50.353237649 -0600 | ||
| 6 | @@ -270,7 +270,7 @@ | ||
| 7 | char *modname; | ||
| 8 | |||
| 9 | /* Ignore lines without : or which start with a # */ | ||
| 10 | - ptr = index(line, ':'); | ||
| 11 | + ptr = strchr(line, ':'); | ||
| 12 | if (ptr == NULL || line[strspn(line, "\t ")] == '#') | ||
| 13 | return 0; | ||
| 14 | |||
