fix a 64bit issue
This commit is contained in:
parent
1e8ee92c0c
commit
7dfa54fce4
14
gvfs-64clean.patch
Normal file
14
gvfs-64clean.patch
Normal file
@ -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;
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Backends for the gio framework in GLib
|
Summary: Backends for the gio framework in GLib
|
||||||
Name: gvfs
|
Name: gvfs
|
||||||
Version: 0.2.3
|
Version: 0.2.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gtk.org
|
URL: http://www.gtk.org
|
||||||
@ -34,6 +34,7 @@ Requires(postun): desktop-file-utils
|
|||||||
BuildRequires: automake autoconf
|
BuildRequires: automake autoconf
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
Patch1: gvfs-0.2.2-archive-integration.patch
|
Patch1: gvfs-0.2.2-archive-integration.patch
|
||||||
|
Patch2: gvfs-64clean.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The gvfs package provides backend implementations for the gio
|
The gvfs package provides backend implementations for the gio
|
||||||
@ -63,6 +64,7 @@ to access the gvfs filesystems.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p0 -b .archive-integration
|
%patch1 -p0 -b .archive-integration
|
||||||
|
%patch2 -p1 -b .64clean
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -176,6 +178,9 @@ update-desktop-database &> /dev/null ||:
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 11 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-2
|
||||||
|
- Fix a crash of the fuse daemon on 64bit
|
||||||
|
|
||||||
* Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-1
|
* Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-1
|
||||||
- Update to 0.2.3
|
- Update to 0.2.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user