FreeBSD Bugzilla – Attachment 103173 Details for
Bug 143064
[PATCH] sysutils/gnome-system-tools Fix build without utmp.h
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.28 KB, created by
Robert Farmer
on 2010-01-21 19:50:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Robert Farmer
Created:
2010-01-21 19:50:07 UTC
Size:
1.28 KB
patch
obsolete
>diff -ruN gnome-system-tools.old/files/patch-src_users_user-settings.c gnome-system-tools/files/patch-src_users_user-settings.c >--- gnome-system-tools.old/files/patch-src_users_user-settings.c 2010-01-20 22:04:57.000000000 -0800 >+++ gnome-system-tools/files/patch-src_users_user-settings.c 2010-01-20 22:29:44.000000000 -0800 >@@ -1,6 +1,24 @@ >---- src/users/user-settings.c.orig Sun Apr 22 23:32:58 2007 >-+++ src/users/user-settings.c Sun Apr 22 23:34:18 2007 >-@@ -632,10 +632,10 @@ >+--- src/users/user-settings.c.orig 2009-12-15 05:17:23.000000000 -0800 >++++ src/users/user-settings.c 2010-01-20 22:25:39.000000000 -0800 >+@@ -29,7 +29,7 @@ >+ #include <sys/types.h> >+ #include <sys/stat.h> >+ #include <stdlib.h> >+-#include <utmp.h> >++#include <sys/param.h> >+ #include <ctype.h> >+ >+ #include "users-table.h" >+@@ -367,7 +367,7 @@ >+ { >+ gint max_len; >+ #ifdef __FreeBSD__ >+- max_len = UT_NAMESIZE; >++ max_len = MAXLOGNAME - 1; >+ #else >+ struct utmp ut; >+ >+@@ -819,10 +819,10 @@ > password_changed = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "changed")); > > if (password_changed) >@@ -12,4 +30,4 @@ > + oobs_user_set_crypted_password (user, gtk_entry_get_text (GTK_ENTRY (widget))); > } > >- group = get_main_group (oobs_user_get_login_name (user)); >+ /* allowed to login without password? */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 143064
: 103173