Update to stable glib2-2.30.0.

This commit is contained in:
ajacoutot 2011-09-27 06:05:28 +00:00
parent 40810e7228
commit 2f8583e9da
3 changed files with 14 additions and 29 deletions

View File

@ -1,17 +1,15 @@
# $OpenBSD: Makefile,v 1.134 2011/09/21 13:10:18 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.135 2011/09/27 06:05:28 ajacoutot Exp $
COMMENT-main= general-purpose utility library
COMMENT-docs= glib2 documentation
VERSION= 2.29.92
VERSION= 2.30.0
DISTNAME= glib-${VERSION}
EXTRACT_SUFX= .tar.xz
PKGNAME-main= glib2-${VERSION}
PKGNAME-docs= glib2-docs-${VERSION}
REVISION-main= 1
CATEGORIES= devel
HOMEPAGE= http://www.gtk.org/

View File

@ -1,5 +1,5 @@
MD5 (glib-2.29.92.tar.xz) = cKysLzJG5Ib/qr67cx2Oag==
RMD160 (glib-2.29.92.tar.xz) = YTiDzUDoKtVKIDDm7DmNrTeqAwM=
SHA1 (glib-2.29.92.tar.xz) = +PFrArANmzT7W99iu1GPqQXRwNc=
SHA256 (glib-2.29.92.tar.xz) = H2jXmQ0DpSz4EoTwOd6UsEHD9es9U2YxZrMeR3VX6LE=
SIZE (glib-2.29.92.tar.xz) = 5712428
MD5 (glib-2.30.0.tar.xz) = aKyVFiMwRPJ+dld9T05t6Q==
RMD160 (glib-2.30.0.tar.xz) = fjAP9UnjpKFWwDdQXg6kklD+URw=
SHA1 (glib-2.30.0.tar.xz) = f3AzCBy668y/FaKw/B6iA9lAsQk=
SHA256 (glib-2.30.0.tar.xz) = 1kwAtDQJ6ruJqteFAfyxqZKwArMUpEFKm9BpWFy3zcE=
SIZE (glib-2.30.0.tar.xz) = 5744640

View File

@ -1,16 +1,11 @@
$OpenBSD: patch-gio_gunixmounts_c,v 1.4 2011/09/20 21:09:34 ajacoutot Exp $
$OpenBSD: patch-gio_gunixmounts_c,v 1.5 2011/09/27 06:05:28 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=583330
From FreeBSD: poll the list of mounted filesystems since we can't rely
on checking for mtab updates like other systems.
From 0db338bdb0e9a0216681b6db7286ffb0f1711db1 Mon Sep 17 00:00:00 2001
From: Antoine Jacoutot <ajacoutot@openbsd.org>
Date: Mon, 19 Sep 2011 23:18:45 +0000
Subject: gunixmounts: Fix compilation on BSD
--- gio/gunixmounts.c.orig Thu Sep 15 02:10:44 2011
+++ gio/gunixmounts.c Tue Sep 20 01:14:25 2011
--- gio/gunixmounts.c.orig Wed Sep 21 21:17:06 2011
+++ gio/gunixmounts.c Tue Sep 27 07:52:34 2011
@@ -153,6 +153,9 @@ struct _GUnixMountMonitor {
GFileMonitor *fstab_monitor;
@ -66,15 +61,7 @@ Subject: gunixmounts: Fix compilation on BSD
"/var",
"/var/crash",
"/var/local",
@@ -1023,6 +1037,7 @@ _g_get_unix_mount_points (void)
GList *return_list;
#ifdef HAVE_SYS_SYSCTL_H
int usermnt = 0;
+ size_t len = sizeof(usermnt);
struct stat sb;
#endif
@@ -1108,6 +1123,10 @@ get_mounts_timestamp (void)
@@ -1111,6 +1125,10 @@ get_mounts_timestamp (void)
if (stat (monitor_file, &buf) == 0)
return (guint64)buf.st_mtime;
}
@ -85,7 +72,7 @@ Subject: gunixmounts: Fix compilation on BSD
return 0;
}
@@ -1250,6 +1269,13 @@ g_unix_mount_monitor_finalize (GObject *object)
@@ -1253,6 +1271,13 @@ g_unix_mount_monitor_finalize (GObject *object)
g_object_unref (monitor->mtab_monitor);
}
@ -99,7 +86,7 @@ Subject: gunixmounts: Fix compilation on BSD
the_mount_monitor = NULL;
G_OBJECT_CLASS (g_unix_mount_monitor_parent_class)->finalize (object);
@@ -1330,6 +1356,51 @@ mtab_file_changed (GFileMonitor *monitor,
@@ -1333,6 +1358,51 @@ mtab_file_changed (GFileMonitor *monitor,
g_signal_emit (mount_monitor, signals[MOUNTS_CHANGED], 0);
}
@ -151,7 +138,7 @@ Subject: gunixmounts: Fix compilation on BSD
static void
g_unix_mount_monitor_init (GUnixMountMonitor *monitor)
{
@@ -1351,6 +1422,12 @@ g_unix_mount_monitor_init (GUnixMountMonitor *monitor)
@@ -1354,6 +1424,12 @@ g_unix_mount_monitor_init (GUnixMountMonitor *monitor)
g_object_unref (file);
g_signal_connect (monitor->mtab_monitor, "changed", (GCallback)mtab_file_changed, monitor);