summaryrefslogtreecommitdiff
path: root/devel/gnome-vfs/files/patch-libgnomevfs_xdgmimecache.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnome-vfs/files/patch-libgnomevfs_xdgmimecache.h')
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs_xdgmimecache.h31
1 files changed, 9 insertions, 22 deletions
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_xdgmimecache.h b/devel/gnome-vfs/files/patch-libgnomevfs_xdgmimecache.h
index 69292f2f1a16..7d987f400d90 100644
--- a/devel/gnome-vfs/files/patch-libgnomevfs_xdgmimecache.h
+++ b/devel/gnome-vfs/files/patch-libgnomevfs_xdgmimecache.h
@@ -1,25 +1,12 @@
---- libgnomevfs/xdgmimecache.h.orig Mon May 29 20:04:24 2006
-+++ libgnomevfs/xdgmimecache.h Mon May 29 20:11:42 2006
-@@ -32,9 +32,19 @@
- typedef struct _XdgMimeCache XdgMimeCache;
-
- #ifdef XDG_PREFIX
--#define _xdg_mime_cache_new_from_file XDG_ENTRY(cache_new_from_file)
--#define _xdg_mime_cache_ref XDG_ENTRY(cache_ref)
--#define _xdg_mime_cache_unref XDG_ENTRY(cache_unref)
-+#define _xdg_mime_cache_new_from_file XDG_ENTRY(cache_new_from_file)
-+#define _xdg_mime_cache_ref XDG_ENTRY(cache_ref)
-+#define _xdg_mime_cache_unref XDG_ENTRY(cache_unref)
-+#define _xdg_mime_cache_get_mime_type_for_data XDG_ENTRY(cache_get_mime_type_for_data)
-+#define _xdg_mime_cache_get_mime_type_for_file XDG_ENTRY(cache_get_mime_type_for_file)
-+#define _xdg_mime_cache_get_mime_type_from_file_name XDG_ENTRY(cache_get_mime_type_from_file_name)
-+#define _xdg_mime_cache_is_valid_mime_type XDG_ENTRY(cache_is_valid_mime_type)
-+#define _xdg_mime_cache_mime_type_equal XDG_ENTRY(cache_mime_type_equal)
-+#define _xdg_mime_cache_media_type_equal XDG_ENTRY(cache_media_type_equal)
-+#define _xdg_mime_cache_mime_type_subclass XDG_ENTRY(cache_mime_type_subclass)
-+#define _xdg_mime_cache_list_mime_parents XDG_ENTRY(cache_list_mime_parents)
-+#define _xdg_mime_cache_unalias_mime_type XDG_ENTRY(cache_unalias_mime_type)
-+#define _xdg_mime_cache_get_max_buffer_extents XDG_ENTRY(cache_get_max_buffer_extents)
+--- libgnomevfs/xdgmimecache.h.orig 2008-06-12 10:25:40.000000000 -0400
++++ libgnomevfs/xdgmimecache.h 2008-06-14 00:49:59.000000000 -0400
+@@ -46,6 +46,9 @@ typedef struct _XdgMimeCache XdgMimeCach
+ #define _xdg_mime_cache_get_icon XDG_RESERVED_ENTRY(cache_get_icon)
+ #define _xdg_mime_cache_get_generic_icon XDG_RESERVED_ENTRY(cache_get_generic_icon)
+ #define _xdg_mime_cache_glob_dump XDG_RESERVED_ENTRY(cache_glob_dump)
++#define _xdg_mime_cache_is_valid_mime_type XDG_RESERVED_ENTRY(cache_is_valid_mime_type)
++#define _xdg_mime_cache_mime_type_equal XDG_RESERVED_ENTRY(cache_mime_type_equal)
++#define _xdg_mime_cache_media_type_equal XDG_RESERVED_ENTRY(cache_media_type_equal)
#endif
extern XdgMimeCache **_caches;