gnome-vfs-2.12.1.1 on Mac OSX

gnome-vfsにArXが依存しているのは現在のところは欠点のひとつです。おかげでMacで使うときにfinkやpkgsrcでgnome-vfs2を別途もってくる必要があります。
gnome-vfs-2.12.1.1をMac OSでpkgsrcでコンパイルすると、たしかにbuild出来ますがいまいち使えません。

% gnomevfs-ls ssh://fooo//bar
Internal Error

これは仮想端末の扱いが中途半端なせいのようで、以下のパッチで取りあえず動くようになります。

[gnome-vfs-2.12.1.1/modules] % diff -u sftp-method.c.orig sftp-method.c
--- sftp-method.c.orig  2005-07-18 17:19:28.000000000 +0900
+++ sftp-method.c       2006-01-18 20:26:01.000000000 +0900
@@ -78,7 +78,7 @@
 /* We only use this on systems with unix98 ptys */
 #define USE_PTY 1
 #endif
-
+#undef USE_PTY
 typedef struct {
        gchar         *hash_name;
        gint           in_fd;

なんとかなんないかなぁ。