aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gnome-vfs
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-05-31 08:20:12 +0800
committermarcus <marcus@FreeBSD.org>2006-05-31 08:20:12 +0800
commit54a9d1e76b2b99f41336be10bc191fc805bdf42e (patch)
treeb5dc348ab0030c093fa6230c77ea4c1251b6f27e /devel/gnome-vfs
parent61a02208a98e885fd43cf0275bb1f2c05773172a (diff)
downloadfreebsd-ports-gnome-54a9d1e76b2b99f41336be10bc191fc805bdf42e.tar.gz
freebsd-ports-gnome-54a9d1e76b2b99f41336be10bc191fc805bdf42e.tar.zst
freebsd-ports-gnome-54a9d1e76b2b99f41336be10bc191fc805bdf42e.zip
Correct a potential symbol conflict between the xdgmime functions in gtk+
and those in gnome-vfs. This problem would manifest itself by screwing up MIME types for various files, and causing GTK+ filtered file choosers not to display contents correctly.
Diffstat (limited to 'devel/gnome-vfs')
-rw-r--r--devel/gnome-vfs/Makefile1
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs_xdgmimecache.h25
2 files changed, 26 insertions, 0 deletions
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile
index f18354fe0a7c..fe942e78b02f 100644
--- a/devel/gnome-vfs/Makefile
+++ b/devel/gnome-vfs/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnome-vfs
PORTVERSION= 2.14.2
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-vfs/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_xdgmimecache.h b/devel/gnome-vfs/files/patch-libgnomevfs_xdgmimecache.h
new file mode 100644
index 000000000000..69292f2f1a16
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-libgnomevfs_xdgmimecache.h
@@ -0,0 +1,25 @@
+--- 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)
+ #endif
+
+ extern XdgMimeCache **_caches;