Dash:
[t2.git] / package / network / netcat / default-unsigned-arch.patch
blob7bc997d141c16bd812b11bcc9b68a7bf3fb3c7f9
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../netcat/default-unsigned-arch.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2004 ROCK Linux Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
15 # version.
16 # --- T2-COPYRIGHT-NOTE-END ---
19 This patch fixes arches like PowerPC which do default to unsigned char.
21 - Rene Rebe <rene@exactcode.de>
23 --- netcat-0.6.1/src/flagset.c.orig 2002-10-03 12:25:16.000000000 +0200
24 +++ netcat-0.6.1/src/flagset.c 2004-06-28 23:00:40.529869256 +0200
25 @@ -134,7 +134,7 @@
27 int netcat_flag_count(void)
29 - register char c;
30 + register signed char c;
31 register int i;
32 int ret = 0;