aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-01-09 20:41:39 +0800
committerache <ache@FreeBSD.org>1997-01-09 20:41:39 +0800
commitaa24ba4191d8390cc293340e1cf73147cbc8a33a (patch)
tree37cd2c16b2958a3a92bbb110a8c18ad882d376ab /ftp
parent17a0465769fba5822bd7c76558b189e339d73dc7 (diff)
downloadfreebsd-ports-gnome-aa24ba4191d8390cc293340e1cf73147cbc8a33a.tar.gz
freebsd-ports-gnome-aa24ba4191d8390cc293340e1cf73147cbc8a33a.tar.zst
freebsd-ports-gnome-aa24ba4191d8390cc293340e1cf73147cbc8a33a.zip
Localize it
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();
+