summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorhasso <hasso>2009-07-17 18:43:15 +0000
committerhasso <hasso>2009-07-17 18:43:15 +0000
commit053a136b9ae5ba3ac9a504fed05f0044bd7757f4 (patch)
tree99895894cd8bddc8524a9bcec7fa5c0ebf9c3f3f /sysutils
parent488751cade4dcd249809dd714dde4b5406fe1ddc (diff)
downloadpkgsrc-053a136b9ae5ba3ac9a504fed05f0044bd7757f4.tar.gz
Make it build on DragonFly.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-system-tools/distinfo4
-rw-r--r--sysutils/gnome-system-tools/patches/patch-aa14
2 files changed, 11 insertions, 7 deletions
diff --git a/sysutils/gnome-system-tools/distinfo b/sysutils/gnome-system-tools/distinfo
index 68c54d75f80..df85b7999b7 100644
--- a/sysutils/gnome-system-tools/distinfo
+++ b/sysutils/gnome-system-tools/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2009/03/22 18:20:36 wiz Exp $
+$NetBSD: distinfo,v 1.3 2009/07/17 18:43:15 hasso Exp $
SHA1 (gnome-system-tools-2.22.2.tar.bz2) = 6ff3d2775acf5e36927d523f708aef90190e974b
RMD160 (gnome-system-tools-2.22.2.tar.bz2) = 6850711c652bd2726fdb5556984fe5bc06c0c576
Size (gnome-system-tools-2.22.2.tar.bz2) = 4461916 bytes
-SHA1 (patch-aa) = 19cf4b169ddb71c987abd5e15737c00e5109764a
+SHA1 (patch-aa) = 65812c438b16316caf27cb0793743c744c4e1b6e
diff --git a/sysutils/gnome-system-tools/patches/patch-aa b/sysutils/gnome-system-tools/patches/patch-aa
index 540230e4b4d..4967e2a73cf 100644
--- a/sysutils/gnome-system-tools/patches/patch-aa
+++ b/sysutils/gnome-system-tools/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/11/15 18:32:14 jmcneill Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/17 18:43:15 hasso Exp $
---- src/users/user-settings.c.orig 2008-11-15 09:27:00.000000000 -0500
-+++ src/users/user-settings.c
+--- src/users/user-settings.c.orig 2009-03-17 17:21:01 +0200
++++ src/users/user-settings.c 2009-07-17 21:13:38 +0300
@@ -29,7 +29,13 @@
#include <sys/types.h>
#include <sys/stat.h>
@@ -16,8 +16,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2008/11/15 18:32:14 jmcneill Exp $
#include <ctype.h>
#include "users-table.h"
-@@ -281,7 +287,7 @@ set_login_length (GtkWidget *entry)
- #ifdef __FreeBSD__
+@@ -278,10 +284,10 @@ static void
+ set_login_length (GtkWidget *entry)
+ {
+ gint max_len;
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__DragonFly__)
max_len = UT_NAMESIZE;
#else
- struct utmp ut;