diff options
Diffstat (limited to 'net-analyzer/gnu-netcat/files')
3 files changed, 0 insertions, 57 deletions
diff --git a/net-analyzer/gnu-netcat/files/gnu-netcat-LC_CTYPE.patch b/net-analyzer/gnu-netcat/files/gnu-netcat-LC_CTYPE.patch deleted file mode 100644 index 1c67f92e6c2a..000000000000 --- a/net-analyzer/gnu-netcat/files/gnu-netcat-LC_CTYPE.patch +++ /dev/null @@ -1,19 +0,0 @@ -In russian locale, netcat error messages display as '???????' - -Need to set LC_CTYPE along with LC_MESSAGES to correctly display messages in -locales other then C/POSIX -Required for correct i18n support in glibc. - -(bug #200875 by Михаил) - - ---- a/src/netcat.c -+++ b/src/netcat.c -@@ -157,6 +157,7 @@ - connect_sock.domain = PF_INET; - - #ifdef ENABLE_NLS -+ setlocale(LC_CTYPE, ""); - setlocale(LC_MESSAGES, ""); - bindtextdomain(PACKAGE, LOCALEDIR); - textdomain(PACKAGE); diff --git a/net-analyzer/gnu-netcat/files/gnu-netcat-close.patch b/net-analyzer/gnu-netcat/files/gnu-netcat-close.patch deleted file mode 100644 index eb1862d1fd52..000000000000 --- a/net-analyzer/gnu-netcat/files/gnu-netcat-close.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/doc/netcat.1 -+++ b/doc/netcat.1 -@@ -256,6 +256,13 @@ - source address for the connecting socket. - .Sh "Advanced Options" - .IX Subsection "Advanced Options" -+.IP "\fB\-c" 4 -+.IX Item "-c" -+.PD 0 -+.IP "\fB\-\-close" 4 -+.IX Item "--close" -+.PD -+closes connection on EOF from stdin. - .IP "\fB\-i \s-1SECS\s0\fR" 4 - .IX Item "-i SECS" - .PD 0 diff --git a/net-analyzer/gnu-netcat/files/gnu-netcat-flagcount.patch b/net-analyzer/gnu-netcat/files/gnu-netcat-flagcount.patch deleted file mode 100644 index 765212cb0e99..000000000000 --- a/net-analyzer/gnu-netcat/files/gnu-netcat-flagcount.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/src/flagset.c -+++ b/src/flagset.c -@@ -134,7 +134,7 @@ - - int netcat_flag_count(void) - { -- register char c; -+ register unsigned char c; - register int i; - int ret = 0; - -@@ -154,8 +154,8 @@ - Assumed that the bit number 1 is the sign, and that we will shift the - bit 1 (or the bit that takes its place later) until the the most right, - WHY it has to keep the wrong sign? */ -- ret -= (c >> 7); -- c <<= 1; -+ ret += (c & 1); -+ c >>= 1; - } - } - |