summaryrefslogtreecommitdiff
path: root/debian/patches/console_current_vcs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/console_current_vcs.patch')
-rw-r--r--debian/patches/console_current_vcs.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/debian/patches/console_current_vcs.patch b/debian/patches/console_current_vcs.patch
new file mode 100644
index 00000000..db9a2cc6
--- /dev/null
+++ b/debian/patches/console_current_vcs.patch
@@ -0,0 +1,59 @@
+commit 9291cd3fa6a76e999bc8dab25e9d5dc492403571
+Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
+Date: Sun Oct 25 20:55:04 2009 +0100
+
+ Fix current_vcs driver load
+
+ * console-client/current-vcs.c (vcs_repeat_init): Rename function into...
+ (current_vcs_init): ... this.
+ (vcs_repeat_start): Rename function into...
+ (current_vcs_start): ... this.
+ (vcs_repeat_fini): Rename function into...
+ (current_vcs_fini): ... this.
+
+diff --git a/console-client/current-vcs.c b/console-client/current-vcs.c
+index a86c670..1b63e0b 100644
+--- a/console-client/current-vcs.c
++++ b/console-client/current-vcs.c
+@@ -167,7 +167,7 @@ static struct argp argp = {options, parse_opt, 0, doc};
+
+ /* Initialize the current VCS driver. */
+ static error_t
+-vcs_repeat_init (void **handle, int no_exit, int argc, char *argv[], int *next)
++current_vcs_init (void **handle, int no_exit, int argc, char *argv[], int *next)
+ {
+ error_t err;
+ int pos = 1;
+@@ -184,7 +184,7 @@ vcs_repeat_init (void **handle, int no_exit, int argc, char *argv[], int *next)
+ }
+
+ static error_t
+-vcs_repeat_start (void *handle)
++current_vcs_start (void *handle)
+ {
+ error_t err;
+
+@@ -206,7 +206,7 @@ vcs_repeat_start (void *handle)
+ }
+
+ static error_t
+-vcs_repeat_fini (void *handle, int force)
++current_vcs_fini (void *handle, int force)
+ {
+ console_unregister_consnode (vcs_node);
+ console_destroy_consnode (vcs_node);
+@@ -214,10 +214,10 @@ vcs_repeat_fini (void *handle, int force)
+ }
+
+
+-struct driver_ops driver_vcs_repeat_ops =
++struct driver_ops driver_current_vcs_ops =
+ {
+- vcs_repeat_init,
+- vcs_repeat_start,
+- vcs_repeat_fini
++ current_vcs_init,
++ current_vcs_start,
++ current_vcs_fini
+ };
+