summaryrefslogtreecommitdiff
path: root/sysutils/gnome-vfs/patches/patch-ca
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-vfs/patches/patch-ca')
-rw-r--r--sysutils/gnome-vfs/patches/patch-ca20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/gnome-vfs/patches/patch-ca b/sysutils/gnome-vfs/patches/patch-ca
new file mode 100644
index 00000000000..c89d1d3fd0b
--- /dev/null
+++ b/sysutils/gnome-vfs/patches/patch-ca
@@ -0,0 +1,20 @@
+$NetBSD: patch-ca,v 1.1 2007/09/19 22:22:43 wiz Exp $
+
+--- libgnomevfs/xdgmime.h.orig 2006-10-13 15:38:37.000000000 +0200
++++ libgnomevfs/xdgmime.h
+@@ -97,12 +97,15 @@ int xdg_mime_register_reload_ca
+ void xdg_mime_remove_callback (int callback_id);
+
+ /* Private versions of functions that don't call xdg_mime_init () */
++#define _xdg_mime_mime_type_equal _gnomevfs_xdg_mime_mime_type_equal
+ int _xdg_mime_mime_type_equal (const char *mime_a,
+ const char *mime_b);
+ int _xdg_mime_media_type_equal (const char *mime_a,
+ const char *mime_b);
++#define _xdg_mime_mime_type_subclass _gnomevfs_xdg_mime_mime_type_subclass
+ int _xdg_mime_mime_type_subclass (const char *mime,
+ const char *base);
++#define _xdg_mime_unalias_mime_type _gnomevfs_xdg_mime_unalias_mime_type
+ const char *_xdg_mime_unalias_mime_type (const char *mime);
+
+