aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-10-04 07:15:23 +0800
committerasami <asami@FreeBSD.org>1995-10-04 07:15:23 +0800
commitb21c591b695a89259ea0ab4883a77aa43ab0b7d7 (patch)
tree7336cf0388532e8430f300a1fafaf93e095c6151 /ftp
parentb102cd2f919b306743f2f5f65dafb9a2df2e1bd2 (diff)
downloadfreebsd-ports-graphics-b21c591b695a89259ea0ab4883a77aa43ab0b7d7.tar.gz
freebsd-ports-graphics-b21c591b695a89259ea0ab4883a77aa43ab0b7d7.tar.zst
freebsd-ports-graphics-b21c591b695a89259ea0ab4883a77aa43ab0b7d7.zip
Submitted by: Steve Passe <smp@csn.net>
there is a bug in net/moxftp keeping it from finding the installed archie application. the following patch fixes it:
Diffstat (limited to 'ftp')
-rw-r--r--ftp/moxftp/files/patch-ae19
1 files changed, 19 insertions, 0 deletions
diff --git a/ftp/moxftp/files/patch-ae b/ftp/moxftp/files/patch-ae
new file mode 100644
index 00000000000..381e8030b4d
--- /dev/null
+++ b/ftp/moxftp/files/patch-ae
@@ -0,0 +1,19 @@
+*** oldarchie.c Mon Oct 2 14:02:08 1995
+--- archie.c Mon Oct 2 14:09:28 1995
+***************
+*** 163,169 ****
+ char *host;
+ int i;
+
+! archie = lpopen("type archie", "r");
+ if (fgets(string, sizeof(string), archie) != NULL) {
+ if ((cp = bsdstrstr(string, "not found")) != NULL) {
+ lpclose(archie);
+--- 163,169 ----
+ char *host;
+ int i;
+
+! archie = lpopen("which archie", "r");
+ if (fgets(string, sizeof(string), archie) != NULL) {
+ if ((cp = bsdstrstr(string, "not found")) != NULL) {
+ lpclose(archie);