aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-01-09 12:41:39 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-01-09 12:41:39 +0000
commit7cb79db6286fda01cc293c98c1f6d7a9700b54a6 (patch)
treeb0b5b120ec4a14d548795f26970fec0c1e5fbd9a /ftp
parent7b9cbc8895aae2d8a244940799180121e0233af7 (diff)
downloadports-7cb79db6286fda01cc293c98c1f6d7a9700b54a6.tar.gz
ports-7cb79db6286fda01cc293c98c1f6d7a9700b54a6.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ncftp2/files/patch-ab42
1 files changed, 42 insertions, 0 deletions
diff --git a/ftp/ncftp2/files/patch-ab b/ftp/ncftp2/files/patch-ab
new file mode 100644
index 000000000000..cf312ee71936
--- /dev/null
+++ b/ftp/ncftp2/files/patch-ab
@@ -0,0 +1,42 @@
+*** Complete.c.bak Fri Oct 18 09:10:31 1996
+--- Complete.c Thu Jan 9 15:17:48 1997
+***************
+*** 241,247 ****
+--- 241,251 ----
+ static int
+ CompareStrings(char **a, char **b)
+ {
++ #ifdef __FreeBSD__
++ return strcoll(*a, *b);
++ #else
+ return strcmp(*a, *b);
++ #endif
+ }
+
+ static void
+*** Main.c.bak Fri Oct 18 09:01:58 1996
+--- Main.c Thu Jan 9 15:24:22 1997
+***************
+*** 22,27 ****
+--- 22,30 ----
+ #include <pwd.h>
+ #include <errno.h>
+ #include <ctype.h>
++ #ifdef __FreeBSD__
++ #include <locale.h>
++ #endif
+ #include <signal.h>
+ #include <setjmp.h>
+ #include <stdlib.h>
+***************
+*** 866,871 ****
+--- 869,877 ----
+ int opt, result;
+ OpenOptions openopt;
+
++ #ifdef __FreeBSD__
++ setlocale(LC_ALL, "");
++ #endif
+ Init();
+ RunStartupScript();
+