diff --git a/gvfs-64clean.patch b/gvfs-64clean.patch new file mode 100644 index 0000000..95abee4 --- /dev/null +++ b/gvfs-64clean.patch @@ -0,0 +1,14 @@ +diff -up gvfs-0.2.3/client/gvfsfusedaemon.c.64clean gvfs-0.2.3/client/gvfsfusedaemon.c +--- gvfs-0.2.3/client/gvfsfusedaemon.c.64clean 2008-04-11 23:00:42.000000000 -0400 ++++ gvfs-0.2.3/client/gvfsfusedaemon.c 2008-04-11 23:01:17.000000000 -0400 +@@ -55,8 +55,8 @@ + + #define DEBUG_ENABLED 0 + +-#define GET_FILE_HANDLE(fi) (GUINT_TO_POINTER ((guint) (fi)->fh)) +-#define SET_FILE_HANDLE(fi, fh) ((fi)->fh = (guint64) GPOINTER_TO_UINT (fh)) ++#define GET_FILE_HANDLE(fi) ((gpointer) (fi)->fh)) ++#define SET_FILE_HANDLE(fi, fh) ((fi)->fh = (guint64) (fh)) + + typedef struct { + time_t creation_time; diff --git a/gvfs.spec b/gvfs.spec index 8cbfc10..3619603 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -1,7 +1,7 @@ Summary: Backends for the gio framework in GLib Name: gvfs Version: 0.2.3 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtk.org @@ -34,6 +34,7 @@ Requires(postun): desktop-file-utils BuildRequires: automake autoconf BuildRequires: libtool Patch1: gvfs-0.2.2-archive-integration.patch +Patch2: gvfs-64clean.patch %description The gvfs package provides backend implementations for the gio @@ -63,6 +64,7 @@ to access the gvfs filesystems. %prep %setup -q %patch1 -p0 -b .archive-integration +%patch2 -p1 -b .64clean %build @@ -176,6 +178,9 @@ update-desktop-database &> /dev/null ||: %changelog +* Fri Apr 11 2008 Matthias Clasen - 0.2.3-2 +- Fix a crash of the fuse daemon on 64bit + * Mon Apr 7 2008 Matthias Clasen - 0.2.3-1 - Update to 0.2.3