mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
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
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/package/module-init-tools/module-init-tools-remove-index.patch?rev=16782&view=auto
|
||||
|
||||
diff -ur module-init-tools-3.2.2/modprobe.c module-init-tools-3.2.2-patched/modprobe.c
|
||||
--- module-init-tools-3.2.2/modprobe.c 2005-12-01 17:42:09.000000000 -0600
|
||||
+++ module-init-tools-3.2.2-patched/modprobe.c 2006-12-04 19:50:50.353237649 -0600
|
||||
@@ -270,7 +270,7 @@
|
||||
char *modname;
|
||||
|
||||
/* Ignore lines without : or which start with a # */
|
||||
- ptr = index(line, ':');
|
||||
+ ptr = strchr(line, ':');
|
||||
if (ptr == NULL || line[strspn(line, "\t ")] == '#')
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user