Obsolete VTE pre-2.91 ABI
[oi-userland.git] / components / desktop / lightdm / patches / 03-use-native-updwtmpx.patch
blobc0a9ba9f86a307e87adffa598cb754c77984da45
1 --- lightdm-1.19.3/src/session-child.c.1 2016-08-07 22:50:16.026918519 +0300
2 +++ lightdm-1.19.3/src/session-child.c 2016-08-07 22:52:50.877831516 +0300
3 @@ -192,6 +192,7 @@
4 return x_authority_new (x_authority_family, x_authority_address, x_authority_address_length, x_authority_number, x_authority_name, x_authority_data, x_authority_data_length);
7 +#ifndef __sun__
8 /* GNU provides this but we can't rely on that so let's make our own version */
9 static void
10 updwtmpx (const gchar *wtmp_file, struct utmpx *ut)
11 @@ -213,6 +213,7 @@
13 updwtmp (wtmp_file, &u);
15 +#endif
17 #if HAVE_LIBAUDIT
18 static void