summaryrefslogtreecommitdiff
path: root/debian/patches/04-long_device_names.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/04-long_device_names.patch')
-rw-r--r--debian/patches/04-long_device_names.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/04-long_device_names.patch b/debian/patches/04-long_device_names.patch
new file mode 100644
index 0000000..d85941a
--- /dev/null
+++ b/debian/patches/04-long_device_names.patch
@@ -0,0 +1,15 @@
+Description: Add support for devices with long names
+Bug-Ubuntu: http://launchpad.net/bugs/1130923
+Index: consolekit/src/ck-sysdeps-linux.c
+===================================================================
+--- consolekit.orig/src/ck-sysdeps-linux.c 2013-03-04 10:53:26.597712000 -0800
++++ consolekit/src/ck-sysdeps-linux.c 2013-03-04 10:57:33.612308825 -0800
+@@ -93,7 +93,7 @@
+ guint major_number;
+ guint minor_first;
+ guint minor_last;
+- char name[16];
++ char name[32];
+ char devfs_type;
+ } tty_map_node;
+