diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2008-12-01 15:27:52 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2008-12-01 15:27:52 +0000 |
commit | 07a6ecabec89158c9a69b0a9bce666ef99a26d24 (patch) | |
tree | 996bb25e6c8488dd7ee1cb8abfaf8634edb8c628 /devel | |
parent | 6a914f9efe04e5d7ccbd79ef58de747dd50a9ba7 (diff) | |
download | pkgsrc-07a6ecabec89158c9a69b0a9bce666ef99a26d24.tar.gz |
add some missing headers
Diffstat (limited to 'devel')
-rw-r--r-- | devel/glib2/distinfo | 4 | ||||
-rw-r--r-- | devel/glib2/patches/patch-ba | 40 |
2 files changed, 30 insertions, 14 deletions
diff --git a/devel/glib2/distinfo b/devel/glib2/distinfo index 816453cd9e4..47c0de00dfe 100644 --- a/devel/glib2/distinfo +++ b/devel/glib2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.106 2008/11/30 22:25:01 ahoka Exp $ +$NetBSD: distinfo,v 1.107 2008/12/01 15:27:52 dmcmahill Exp $ SHA1 (glib-2.18.3.tar.bz2) = 293f639fb85ea47347eb34e122327c60ef7606e4 RMD160 (glib-2.18.3.tar.bz2) = cf43fbba04250becaabdb7b7f55bcdec584f019e @@ -15,5 +15,5 @@ SHA1 (patch-ai) = 30b371e345a1ab3a07ce1fe2fe9c599398d668eb SHA1 (patch-aj) = a8c4e79113828e6dadf0b158777bb860aa44de3e SHA1 (patch-ak) = f382189966f073b3b6e6de89ea7709571241a9a0 SHA1 (patch-al) = de5135c328027b3c4543bb09994d31b6ffedeafa -SHA1 (patch-ba) = a343571ca14f7b20339d627782206baa7016f3fa +SHA1 (patch-ba) = 767a4880a749c5491836510de1011d9c4e8887f0 SHA1 (patch-cb) = 0f084c33fb67fbb8e12448034450699da26289ff diff --git a/devel/glib2/patches/patch-ba b/devel/glib2/patches/patch-ba index cb79904715d..f488d8a5075 100644 --- a/devel/glib2/patches/patch-ba +++ b/devel/glib2/patches/patch-ba @@ -1,8 +1,24 @@ -$NetBSD: patch-ba,v 1.4 2008/11/29 19:09:04 jmcneill Exp $ +$NetBSD: patch-ba,v 1.5 2008/12/01 15:27:52 dmcmahill Exp $ ---- gio/gunixmounts.c.orig 2008-11-29 13:52:51.000000000 -0500 +--- gio/gunixmounts.c.orig 2008-11-24 05:45:19.000000000 +0000 +++ gio/gunixmounts.c -@@ -129,6 +129,9 @@ struct _GUnixMountMonitor { +@@ -38,6 +38,15 @@ + #ifdef HAVE_POLL_H + #include <poll.h> + #endif ++ ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif ++ ++#ifdef HAVE_SYS_STATVFS_H ++#include <sys/statvfs.h> ++#endif ++ + #include <stdio.h> + #include <unistd.h> + #include <sys/time.h> +@@ -129,6 +138,9 @@ struct _GUnixMountMonitor { GFileMonitor *fstab_monitor; GFileMonitor *mtab_monitor; @@ -12,7 +28,7 @@ $NetBSD: patch-ba,v 1.4 2008/11/29 19:09:04 jmcneill Exp $ }; struct _GUnixMountMonitorClass { -@@ -140,6 +143,8 @@ static GUnixMountMonitor *the_mount_moni +@@ -140,6 +152,8 @@ static GUnixMountMonitor *the_mount_moni static GList *_g_get_unix_mounts (void); static GList *_g_get_unix_mount_points (void); @@ -21,7 +37,7 @@ $NetBSD: patch-ba,v 1.4 2008/11/29 19:09:04 jmcneill Exp $ G_DEFINE_TYPE (GUnixMountMonitor, g_unix_mount_monitor, G_TYPE_OBJECT); #define MOUNT_POLL_INTERVAL 4000 -@@ -166,6 +171,7 @@ G_DEFINE_TYPE (GUnixMountMonitor, g_unix +@@ -166,6 +180,7 @@ G_DEFINE_TYPE (GUnixMountMonitor, g_unix #endif #if defined(HAVE_GETMNTINFO) && defined(HAVE_FSTAB_H) && defined(HAVE_SYS_MOUNT_H) @@ -29,7 +45,7 @@ $NetBSD: patch-ba,v 1.4 2008/11/29 19:09:04 jmcneill Exp $ #include <sys/ucred.h> #include <sys/mount.h> #include <fstab.h> -@@ -216,20 +222,28 @@ g_unix_is_mount_path_system_internal (co +@@ -216,20 +231,28 @@ g_unix_is_mount_path_system_internal (co "/", /* we already have "Filesystem root" in Nautilus */ "/bin", "/boot", @@ -58,7 +74,7 @@ $NetBSD: patch-ba,v 1.4 2008/11/29 19:09:04 jmcneill Exp $ "/var", "/var/log/audit", /* https://bugzilla.redhat.com/show_bug.cgi?id=333041 */ "/var/tmp", /* https://bugzilla.redhat.com/show_bug.cgi?id=335241 */ -@@ -563,7 +577,11 @@ get_mtab_monitor_file (void) +@@ -563,7 +586,11 @@ get_mtab_monitor_file (void) static GList * _g_get_unix_mounts (void) { @@ -70,7 +86,7 @@ $NetBSD: patch-ba,v 1.4 2008/11/29 19:09:04 jmcneill Exp $ int num_mounts, i; GUnixMountEntry *mount_entry; GList *return_list; -@@ -580,8 +598,18 @@ _g_get_unix_mounts (void) +@@ -580,8 +607,18 @@ _g_get_unix_mounts (void) mount_entry->mount_path = g_strdup (mntent[i].f_mntonname); mount_entry->device_path = g_strdup (mntent[i].f_mntfromname); @@ -89,7 +105,7 @@ $NetBSD: patch-ba,v 1.4 2008/11/29 19:09:04 jmcneill Exp $ mount_entry->is_read_only = TRUE; mount_entry->is_system_internal = -@@ -990,6 +1018,10 @@ get_mounts_timestamp (void) +@@ -990,6 +1027,10 @@ get_mounts_timestamp (void) if (stat (monitor_file, &buf) == 0) return (guint64)buf.st_mtime; } @@ -100,7 +116,7 @@ $NetBSD: patch-ba,v 1.4 2008/11/29 19:09:04 jmcneill Exp $ return 0; } -@@ -1131,6 +1163,13 @@ g_unix_mount_monitor_finalize (GObject * +@@ -1131,6 +1172,13 @@ g_unix_mount_monitor_finalize (GObject * g_object_unref (monitor->mtab_monitor); } @@ -114,7 +130,7 @@ $NetBSD: patch-ba,v 1.4 2008/11/29 19:09:04 jmcneill Exp $ the_mount_monitor = NULL; G_OBJECT_CLASS (g_unix_mount_monitor_parent_class)->finalize (object); -@@ -1209,6 +1248,51 @@ mtab_file_changed (GFileMonitor *mo +@@ -1209,6 +1257,51 @@ mtab_file_changed (GFileMonitor *mo g_signal_emit (mount_monitor, signals[MOUNTS_CHANGED], 0); } @@ -166,7 +182,7 @@ $NetBSD: patch-ba,v 1.4 2008/11/29 19:09:04 jmcneill Exp $ static void g_unix_mount_monitor_init (GUnixMountMonitor *monitor) { -@@ -1231,6 +1315,12 @@ g_unix_mount_monitor_init (GUnixMountMon +@@ -1231,6 +1324,12 @@ g_unix_mount_monitor_init (GUnixMountMon g_signal_connect (monitor->mtab_monitor, "changed", (GCallback)mtab_file_changed, monitor); } |