summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-30 00:33:45 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-30 00:33:45 +0800
commit801cf19b89d1eee5a6e580f7367da08c094959f8 (patch)
tree8152f3c817b5a4fba528683665f5ae7fd51833ea
parentcb6731afea03d3e8454be58d96c3484dade42280 (diff)
downloadmarcuscom-ports-801cf19b89d1eee5a6e580f7367da08c094959f8.tar.gz
marcuscom-ports-801cf19b89d1eee5a6e580f7367da08c094959f8.tar.zst
marcuscom-ports-801cf19b89d1eee5a6e580f7367da08c094959f8.zip
Add patch from ports to fix user additions.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8684 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--sysutils/gnome-system-tools/Makefile4
-rw-r--r--sysutils/gnome-system-tools/files/patch-src_users_user-settings.c15
2 files changed, 17 insertions, 2 deletions
diff --git a/sysutils/gnome-system-tools/Makefile b/sysutils/gnome-system-tools/Makefile
index 0724e8def..b4a91497d 100644
--- a/sysutils/gnome-system-tools/Makefile
+++ b/sysutils/gnome-system-tools/Makefile
@@ -3,11 +3,11 @@
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/gnome-system-tools/Makefile,v 1.59 2007/03/12 12:55:31 ahze Exp $
+# $MCom: ports/sysutils/gnome-system-tools/Makefile,v 1.61 2007/04/26 18:45:09 marcus Exp $
PORTNAME= gnome-system-tools
PORTVERSION= 2.18.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-system-tools/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
diff --git a/sysutils/gnome-system-tools/files/patch-src_users_user-settings.c b/sysutils/gnome-system-tools/files/patch-src_users_user-settings.c
new file mode 100644
index 000000000..c19a384a9
--- /dev/null
+++ b/sysutils/gnome-system-tools/files/patch-src_users_user-settings.c
@@ -0,0 +1,15 @@
+--- 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 @@
+ password_changed = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "changed"));
+
+ if (password_changed)
+- oobs_user_set_password (user, gtk_entry_get_text (GTK_ENTRY (widget)));
++ oobs_user_set_crypted_password (user, gtk_entry_get_text (GTK_ENTRY (widget)));
+ } else {
+ widget = gst_dialog_get_widget (tool->main_dialog, "user_settings_random_passwd");
+- oobs_user_set_password (user, gtk_entry_get_text (GTK_ENTRY (widget)));
++ oobs_user_set_crypted_password (user, gtk_entry_get_text (GTK_ENTRY (widget)));
+ }
+
+ group = get_main_group (oobs_user_get_login_name (user));