summaryrefslogtreecommitdiffstats
path: root/package/lvm2/lvm2-001-readline-deprecated.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/lvm2/lvm2-001-readline-deprecated.patch')
-rw-r--r--package/lvm2/lvm2-001-readline-deprecated.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/package/lvm2/lvm2-001-readline-deprecated.patch b/package/lvm2/lvm2-001-readline-deprecated.patch
deleted file mode 100644
index d36adc3b95..0000000000
--- a/package/lvm2/lvm2-001-readline-deprecated.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-The CPPFunction typedef (among others) have been deprecated in favour of
-specific prototyped typedefs since readline 4.2.
-It's been working since because compatibility typedefs have been
-in place until they were removed in readline 6.3.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
-diff -Nura LVM2.2.02.103.orig/tools/lvm.c LVM2.2.02.103/tools/lvm.c
---- LVM2.2.02.103.orig/tools/lvm.c 2014-03-01 16:10:57.902422044 -0300
-+++ LVM2.2.02.103/tools/lvm.c 2014-03-01 16:11:34.791598230 -0300
-@@ -185,7 +185,7 @@
- char *input = NULL, *args[MAX_ARGS], **argv;
-
- rl_readline_name = "lvm";
-- rl_attempted_completion_function = (CPPFunction *) _completion;
-+ rl_attempted_completion_function = (rl_completion_func_t *) _completion;
-
- _read_history(cmd);
-
OpenPOWER on IntegriCloud