Maintenance update to gvfs-1.14.1.

This commit is contained in:
ajacoutot 2012-10-15 15:34:23 +00:00
parent a1dcf3819c
commit 3529123e5d
3 changed files with 4 additions and 28 deletions

View File

@ -1,17 +1,14 @@
# $OpenBSD: Makefile,v 1.80 2012/09/30 09:02:13 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.81 2012/10/15 15:34:23 ajacoutot Exp $
COMMENT-main= GNOME Virtual File System
COMMENT-smb= samba module for GVFS
GNOME_PROJECT= gvfs
GNOME_VERSION= 1.14.0
GNOME_VERSION= 1.14.1
PKGNAME-main= ${DISTNAME}
PKGNAME-smb= ${GNOME_PROJECT}-smb-${GNOME_VERSION}
REVISION-main= 0
REVISION-smb= 0
SHARED_LIBS += gvfscommon 4.0 # .0.0
# LGPLv2

View File

@ -1,2 +1,2 @@
SHA256 (gnome/gvfs-1.14.0.tar.xz) = cauM9gBwAl0a/5vuH1FP20VoL/rQG2hWyrqxvDeRv7Q=
SIZE (gnome/gvfs-1.14.0.tar.xz) = 1463400
SHA256 (gnome/gvfs-1.14.1.tar.xz) = Cvhs1+57bayhRHdr3xLy8w0+GP3XC02ljhpozqT2cWo=
SIZE (gnome/gvfs-1.14.1.tar.xz) = 1465416

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-metadata_metatree_c,v 1.8 2012/10/01 10:54:30 ajacoutot Exp $
From a5e21447be3c138969e80a3f779c8697b551db4f Mon Sep 17 00:00:00 2001
From: Antoine Jacoutot <ajacoutot@gnome.org>
Date: Sun, 30 Sep 2012 08:52:39 +0000
Subject: portability: fix is_on_nfs on OpenBSD
--- metadata/metatree.c.orig Mon Sep 24 15:04:39 2012
+++ metadata/metatree.c Sun Sep 30 10:42:21 2012
@@ -302,7 +302,11 @@ is_on_nfs (char *filename)
sizeof (statfs_buffer), 0);
# endif
if (statfs_result == 0)
+#ifdef __OpenBSD__
+ res = strcmp(statfs_buffer.f_fstypename, MOUNT_NFS) == 0;
+#else
res = statfs_buffer.f_type == 0x6969;
+#endif
#elif defined(USE_STATVFS) && defined(HAVE_STRUCT_STATVFS_F_BASETYPE)
statfs_result = statvfs (dirname, &statfs_buffer);