1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/devel/dconf/files/patch-common_shmdir.c
Koop Mast b146451a6e Add dconf.
Dconf will be the replacement of gconf for GNOME 3.
This was a late addition to the gnome 2.32 update, and I forgot to add it to
update patch.

PR:		ports/152424
Submitted by:	Pascal Stumpf <Pascal.Stumpf@cubes.de>
Pointyhat to:	kwm@
2010-11-20 17:40:04 +00:00

17 lines
366 B
C

--- common/dconf-shmdir.c.orig 2010-10-21 13:46:17.000000000 +0200
+++ common/dconf-shmdir.c 2010-10-21 13:47:46.000000000 +0200
@@ -21,8 +21,13 @@
#include "dconf-shmdir.h"
+#ifdef __linux__
#include <sys/statfs.h>
#include <sys/vfs.h>
+#elif __FreeBSD__
+#include <sys/param.h>
+#include <sys/mount.h>
+#endif
#include <errno.h>
#ifndef NFS_SUPER_MAGIC