From 7cb79db6286fda01cc293c98c1f6d7a9700b54a6 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Thu, 9 Jan 1997 12:41:39 +0000 Subject: Localize it --- ftp/ncftp2/files/patch-ab | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ftp/ncftp2/files/patch-ab (limited to 'ftp/ncftp2') 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 + #include + #include ++ #ifdef __FreeBSD__ ++ #include ++ #endif + #include + #include + #include +*************** +*** 866,871 **** +--- 869,877 ---- + int opt, result; + OpenOptions openopt; + ++ #ifdef __FreeBSD__ ++ setlocale(LC_ALL, ""); ++ #endif + Init(); + RunStartupScript(); + -- cgit v1.2.3