summaryrefslogtreecommitdiff
path: root/ftp/gftp/files/patch-lib::options.h
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-04-24 09:28:40 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-04-24 09:28:40 +0000
commit63728fc86908cd7b17df0eccf5b5fde4b0e0a7bc (patch)
treee9cb02dc257dac18521cc4d9a9cb6a4da2f09e45 /ftp/gftp/files/patch-lib::options.h
parentupdate to leafnode 1.9.38 and unbreak it on FreeBSD 4.8 (diff)
make ssh2 support working for FreeBSD
PR: 51330 Submitted by: Oliver Lehmann <lehmann@ans-netz.de>
Notes
Notes: svn path=/head/; revision=79578
Diffstat (limited to 'ftp/gftp/files/patch-lib::options.h')
-rw-r--r--ftp/gftp/files/patch-lib::options.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/ftp/gftp/files/patch-lib::options.h b/ftp/gftp/files/patch-lib::options.h
new file mode 100644
index 000000000000..221a4d7f0ee3
--- /dev/null
+++ b/ftp/gftp/files/patch-lib::options.h
@@ -0,0 +1,16 @@
+--- lib/options.h.orig Wed Apr 23 22:50:37 2003
++++ lib/options.h Wed Apr 23 22:51:13 2003
+@@ -26,9 +26,13 @@
+ {"FTP", rfc959_init, "ftp", 1},
+ {"HTTP", rfc2068_init, "http", 1},
+ {"Local", local_init, "file", 1},
++#ifdef WITH_SSH
+ {"SSH2", sshv2_init, "ssh2", 1},
++#endif
+ {"Bookmark", bookmark_init, "bookmark", 0},
++#ifdef WITH_SSH
+ {"SSH", ssh_init, "ssh", 1},
++#endif
+ {NULL, NULL, NULL, 0}
+ };
+