summaryrefslogtreecommitdiff
path: root/extra/parted/parted-3.1-readline.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/parted/parted-3.1-readline.patch')
-rw-r--r--extra/parted/parted-3.1-readline.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/parted/parted-3.1-readline.patch b/extra/parted/parted-3.1-readline.patch
new file mode 100644
index 000000000..936ec00cb
--- /dev/null
+++ b/extra/parted/parted-3.1-readline.patch
@@ -0,0 +1,11 @@
+--- a/parted/ui.c
++++ b/parted/ui.c
+@@ -1474,7 +1474,7 @@
+ #ifdef HAVE_LIBREADLINE
+ if (!opt_script_mode) {
+ rl_initialize ();
+- rl_attempted_completion_function = (CPPFunction*) complete_function;
++ rl_attempted_completion_function = (rl_completion_func_t*) complete_function;
+ readline_state.in_readline = 0;
+ }
+ #endif