summaryrefslogtreecommitdiffstats
path: root/package/module-init-tools
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-12-05 02:16:03 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-12-05 02:16:03 +0000
commitf460603f02092b4f514d108dd8b4167a7a056213 (patch)
tree2e9ccdd20be04e324bcb1e5a8ac2f831b8982812 /package/module-init-tools
parente9fd85f5f98c888eedaf54203b6caeae5239fad1 (diff)
downloadbuildroot-novena-f460603f02092b4f514d108dd8b4167a7a056213.tar.gz
buildroot-novena-f460603f02092b4f514d108dd8b4167a7a056213.zip
Patch packages to remove legacy and deprecated functions. All of these patches have been sent upstream to the various maintainers.
Diffstat (limited to 'package/module-init-tools')
-rw-r--r--package/module-init-tools/module-init-tools-remove-index.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/module-init-tools/module-init-tools-remove-index.patch b/package/module-init-tools/module-init-tools-remove-index.patch
new file mode 100644
index 000000000..1a2da2859
--- /dev/null
+++ b/package/module-init-tools/module-init-tools-remove-index.patch
@@ -0,0 +1,12 @@
+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;
+