diff options
Diffstat (limited to 'net-ftp/ftp/files/netkit-ftp-0.17-locale.patch')
-rw-r--r-- | net-ftp/ftp/files/netkit-ftp-0.17-locale.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-ftp/ftp/files/netkit-ftp-0.17-locale.patch b/net-ftp/ftp/files/netkit-ftp-0.17-locale.patch new file mode 100644 index 000000000000..57a10d85e353 --- /dev/null +++ b/net-ftp/ftp/files/netkit-ftp-0.17-locale.patch @@ -0,0 +1,21 @@ +ripped from Fedora +https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=142265 + +--- netkit-ftp-0.17/ftp/main.c.locale 2004-12-15 16:52:14.504193752 +0000 ++++ netkit-ftp-0.17/ftp/main.c 2004-12-15 16:52:51.719133655 +0000 +@@ -51,6 +51,7 @@ + + /* #include <arpa/ftp.h> <--- unused? */ + ++#include <locale.h> + #include <signal.h> + #include <unistd.h> + #include <string.h> +@@ -109,6 +110,7 @@ + + tick = 0; + ++ setlocale (LC_ALL, ""); + sp = getservbyname("ftp", "tcp"); + if (sp == 0) { + fprintf(stderr, "ftp: ftp/tcp: unknown service\n"); |