openbsd-ports/graphics/gphoto2/patches/patch-gphoto2_shell_c
ajacoutot 15f69d1028 - update gphoto to version 2.4.3
this is a maintenance release

ok espie@
2008-12-08 14:21:07 +00:00

22 lines
758 B
Plaintext

$OpenBSD: patch-gphoto2_shell_c,v 1.4 2008/12/08 14:21:07 ajacoutot Exp $
--- gphoto2/shell.c.orig Sun Jun 22 14:18:12 2008
+++ gphoto2/shell.c Tue Nov 11 16:22:32 2008
@@ -398,7 +398,7 @@ shell_completion_function (const char *text, int start
if (!start) {
/* Complete command */
- matches = rl_completion_matches (text, shell_command_generator);
+ matches = completion_matches (text, shell_command_generator);
} else {
current = strdup (rl_copy_text (0, end));
@@ -410,7 +410,7 @@ shell_completion_function (const char *text, int start
free (current);
/* Complete remote path */
- matches = rl_completion_matches (text, shell_path_generator);
+ matches = completion_matches (text, shell_path_generator);
}
return (matches);