From d5d412af56bc3e8ab3c52bb4864426c112f066e5 Mon Sep 17 00:00:00 2001 From: kwm Date: Fri, 21 Jan 2011 08:20:13 +0000 Subject: Fix build on current. utmp.h -> utmpx.h git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15062 df743ca5-7f9a-e211-a948-0013205c9059 --- .../patch-panels_user-accounts_um-account-dialog.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sysutils/gnome-control-center3/files/patch-panels_user-accounts_um-account-dialog.c (limited to 'sysutils/gnome-control-center3') 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 + #include + #include ++#ifdef __FreeBSD__ ++#include ++#if __FreeBSD_version < 900000 + #include ++#else ++#include ++/* from the old utmp.h */ ++#define UT_NAMESIZE 16 ++#endif ++#endif + + #include + #include -- cgit v1.2.3