summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-initial-setup/files/extra-patch-gnome-initial-setup_pages_account_um-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gnome-initial-setup/files/extra-patch-gnome-initial-setup_pages_account_um-utils.c')
-rw-r--r--deskutils/gnome-initial-setup/files/extra-patch-gnome-initial-setup_pages_account_um-utils.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/deskutils/gnome-initial-setup/files/extra-patch-gnome-initial-setup_pages_account_um-utils.c b/deskutils/gnome-initial-setup/files/extra-patch-gnome-initial-setup_pages_account_um-utils.c
new file mode 100644
index 000000000..2799ea8aa
--- /dev/null
+++ b/deskutils/gnome-initial-setup/files/extra-patch-gnome-initial-setup_pages_account_um-utils.c
@@ -0,0 +1,12 @@
+--- gnome-initial-setup/pages/account/um-utils.c.orig 2014-03-10 04:47:29.000000000 +0000
++++ gnome-initial-setup/pages/account/um-utils.c 2014-05-13 20:51:04.098992354 +0000
+@@ -26,7 +26,8 @@
+ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <pwd.h>
+-#include <utmp.h>
++#include <utmpx.h>
++#define UT_NAMESIZE 16
+
+ #include <glib.h>
+ #include <glib/gi18n.h>