diff options
author | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-07-22 23:36:50 +0800 |
---|---|---|
committer | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-07-22 23:36:50 +0800 |
commit | 80c4793351060da0d44d6b036065dd0219f1937a (patch) | |
tree | 2b0143c39271a9d4f53bd821d9b341b531a8eca1 /devel/gnomevfs2/files | |
parent | bd8c5d8beda96b0a1a3e81f5d0f38d46b13bc556 (diff) | |
download | marcuscom-ports-80c4793351060da0d44d6b036065dd0219f1937a.tar marcuscom-ports-80c4793351060da0d44d6b036065dd0219f1937a.tar.gz marcuscom-ports-80c4793351060da0d44d6b036065dd0219f1937a.tar.bz2 marcuscom-ports-80c4793351060da0d44d6b036065dd0219f1937a.tar.lz marcuscom-ports-80c4793351060da0d44d6b036065dd0219f1937a.tar.xz marcuscom-ports-80c4793351060da0d44d6b036065dd0219f1937a.tar.zst marcuscom-ports-80c4793351060da0d44d6b036065dd0219f1937a.zip |
Update to 2.7.4.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2531 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gnomevfs2/files')
-rw-r--r-- | devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c | 13 | ||||
-rw-r--r-- | devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c | 16 |
2 files changed, 21 insertions, 8 deletions
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c new file mode 100644 index 000000000..ad45385ad --- /dev/null +++ b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c @@ -0,0 +1,13 @@ +--- libgnomevfs/gnome-vfs-resolve.c.orig Thu Jul 22 11:23:42 2004 ++++ libgnomevfs/gnome-vfs-resolve.c Thu Jul 22 11:25:46 2004 +@@ -133,8 +133,10 @@ + switch (error) { + + case EAI_NONAME: return GNOME_VFS_ERROR_HOST_NOT_FOUND; ++#ifndef __FreeBSD__ + case EAI_ADDRFAMILY: + case EAI_NODATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS; ++#endif + case EAI_SYSTEM: return gnome_vfs_result_from_errno (); + case EAI_FAIL: + case EAI_AGAIN: return GNOME_VFS_ERROR_NAMESERVER; diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c b/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c index 213ed03ec..1a5401560 100644 --- a/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c +++ b/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c @@ -1,11 +1,11 @@ ---- libgnomevfs/xdgmime.c.orig Wed Jun 23 20:15:25 2004 -+++ libgnomevfs/xdgmime.c Wed Jun 23 20:15:41 2004 -@@ -97,7 +97,7 @@ +--- libgnomevfs/xdgmime.c.orig Thu Jul 22 11:20:13 2004 ++++ libgnomevfs/xdgmime.c Thu Jul 22 11:20:52 2004 +@@ -189,7 +189,7 @@ - xdg_data_dirs = getenv ("XDG_DATA_DIRS"); - if (xdg_data_dirs == NULL) -- xdg_data_dirs = "/usr/local/share/:/usr/share/"; -+ xdg_data_dirs = "/usr/local/share/:%%X11BASE%%/share/:/usr/share/"; + xdg_data_dirs = getenv ("XDG_DATA_DIRS"); + if (xdg_data_dirs == NULL) +- xdg_data_dirs = "/usr/local/share/:/usr/share/"; ++ xdg_data_dirs = "/usr/local/share/:%%X11BASE%%/share/:/usr/share/"; - ptr = xdg_data_dirs; + ptr = xdg_data_dirs; |