diff options
Diffstat (limited to 'sysutils/gnome-vfs2/patches/patch-cd')
-rw-r--r-- | sysutils/gnome-vfs2/patches/patch-cd | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sysutils/gnome-vfs2/patches/patch-cd b/sysutils/gnome-vfs2/patches/patch-cd new file mode 100644 index 00000000000..f2208eacf50 --- /dev/null +++ b/sysutils/gnome-vfs2/patches/patch-cd @@ -0,0 +1,32 @@ +$NetBSD: patch-cd,v 1.1 2007/02/09 19:06:54 drochner Exp $ + +--- libgnomevfs/xdgmimecache.h.orig 2007-02-09 19:29:40.000000000 +0100 ++++ libgnomevfs/xdgmimecache.h +@@ -44,20 +44,27 @@ XdgMimeCache *_xdg_mime_cache_ref + void _xdg_mime_cache_unref (XdgMimeCache *cache); + + ++#define _xdg_mime_cache_get_mime_type_for_data _gnomevfs_xdg_mime_cache_get_mime_type_for_data + const char *_xdg_mime_cache_get_mime_type_for_data (const void *data, + size_t len); ++#define _xdg_mime_cache_get_mime_type_for_file _gnomevfs_xdg_mime_cache_get_mime_type_for_file + const char *_xdg_mime_cache_get_mime_type_for_file (const char *file_name, + struct stat *statbuf); ++#define _xdg_mime_cache_get_mime_type_from_file_name _gnomevfs_xdg_mime_cache_get_mime_type_from_file_name + const char *_xdg_mime_cache_get_mime_type_from_file_name (const char *file_name); + int _xdg_mime_cache_is_valid_mime_type (const char *mime_type); + int _xdg_mime_cache_mime_type_equal (const char *mime_a, + const char *mime_b); + int _xdg_mime_cache_media_type_equal (const char *mime_a, + const char *mime_b); ++#define _xdg_mime_cache_mime_type_subclass _gnomevfs_xdg_mime_cache_mime_type_subclass + int _xdg_mime_cache_mime_type_subclass (const char *mime_a, + const char *mime_b); ++#define _xdg_mime_cache_list_mime_parents _gnomevfs_xdg_mime_cache_list_mime_parents + char **_xdg_mime_cache_list_mime_parents (const char *mime); ++#define _xdg_mime_cache_unalias_mime_type _gnomevfs_xdg_mime_cache_unalias_mime_type + const char *_xdg_mime_cache_unalias_mime_type (const char *mime); ++#define _xdg_mime_cache_get_max_buffer_extents _gnomevfs_xdg_mime_cache_get_max_buffer_extents + int _xdg_mime_cache_get_max_buffer_extents (void); + + #endif /* __XDG_MIME_CACHE_H__ */ |