summaryrefslogtreecommitdiffstats
path: root/package/module-init-tools/module-init-tools-remove-index.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-06-05 17:39:05 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-06-22 21:20:26 +0200
commitdcc08e84a5e94e7ffaf52ec4374821e56bb20a34 (patch)
treecf16aaa81327aac98dd1d6c10886955e966d57ff /package/module-init-tools/module-init-tools-remove-index.patch
parent9497c0fee20ff66b7f128d3246bcee09244207cb (diff)
downloadbuildroot-novena-dcc08e84a5e94e7ffaf52ec4374821e56bb20a34.tar.gz
buildroot-novena-dcc08e84a5e94e7ffaf52ec4374821e56bb20a34.zip
module-init-tools: bump version + convert to autotools
The "remove-index" patch is no longer needed, the newer version of module-init-tools correctly uses strchr(). The "module-init-tools" patch, whose main purpose was to disable the generation of man pages (it requires docbook2man), is replaced by a simpler implementation, module-init-tools-3.11-add-manpages-config-option.patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/module-init-tools/module-init-tools-remove-index.patch')
-rw-r--r--package/module-init-tools/module-init-tools-remove-index.patch12
1 files changed, 0 insertions, 12 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
deleted file mode 100644
index 1a2da2859..000000000
--- a/package/module-init-tools/module-init-tools-remove-index.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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;
-