summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-01-21 16:20:13 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-01-21 16:20:13 +0800
commitd5d412af56bc3e8ab3c52bb4864426c112f066e5 (patch)
treefcaaa63f75a2d48e3bd6e2196b71f591bcd66ced /sysutils
parent4cf444ae9c5387eb932872b52640884a585b3f46 (diff)
downloadmarcuscom-ports-d5d412af56bc3e8ab3c52bb4864426c112f066e5.tar
marcuscom-ports-d5d412af56bc3e8ab3c52bb4864426c112f066e5.tar.gz
marcuscom-ports-d5d412af56bc3e8ab3c52bb4864426c112f066e5.tar.bz2
marcuscom-ports-d5d412af56bc3e8ab3c52bb4864426c112f066e5.tar.lz
marcuscom-ports-d5d412af56bc3e8ab3c52bb4864426c112f066e5.tar.xz
marcuscom-ports-d5d412af56bc3e8ab3c52bb4864426c112f066e5.tar.zst
marcuscom-ports-d5d412af56bc3e8ab3c52bb4864426c112f066e5.zip
Fix build on current. utmp.h -> utmpx.h
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15062 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-control-center3/files/patch-panels_user-accounts_um-account-dialog.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/gnome-control-center3/files/patch-panels_user-accounts_um-account-dialog.c b/sysutils/gnome-control-center3/files/patch-panels_user-accounts_um-account-dialog.c
new file mode 100644
index 000000000..82c112019
--- /dev/null
+++ b/sysutils/gnome-control-center3/files/patch-panels_user-accounts_um-account-dialog.c
@@ -0,0 +1,19 @@
+--- panels/user-accounts/um-account-dialog.c.orig 2011-01-21 09:07:21.000000000 +0100
++++ panels/user-accounts/um-account-dialog.c 2011-01-21 09:16:37.000000000 +0100
+@@ -24,7 +24,16 @@
+ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <pwd.h>
++#ifdef __FreeBSD__
++#include <sys/param.h>
++#if __FreeBSD_version < 900000
+ #include <utmp.h>
++#else
++#include <utmpx.h>
++/* from the old utmp.h */
++#define UT_NAMESIZE 16
++#endif
++#endif
+
+ #include <glib.h>
+ #include <glib/gi18n.h>