aboutsummaryrefslogtreecommitdiff
path: root/ftp/ncftp2/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/ncftp2/files/patch-ab')
-rw-r--r--ftp/ncftp2/files/patch-ab42
1 files changed, 0 insertions, 42 deletions
diff --git a/ftp/ncftp2/files/patch-ab b/ftp/ncftp2/files/patch-ab
deleted file mode 100644
index cf312ee71936..000000000000
--- a/ftp/ncftp2/files/patch-ab
+++ /dev/null
@@ -1,42 +0,0 @@
-*** 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();
-