Dash:
[t2.git] / package / archiver / ncompress / hotfix-gcc34.patch
blobeb74ec79a39234a33a97373ed5fad405ee9bd69e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../ncompress/gcc34.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Some glibc-2.3.4 / gcc-3.4 changes.
19 - Rene Rebe <rene@exactcode.de>
21 --- ncompress-4.2.4/compress42.c.orig 2004-05-03 19:39:12.000000000 +0200
22 +++ ncompress-4.2.4/compress42.c 2004-05-03 19:42:08.000000000 +0200
23 @@ -172,7 +172,7 @@
24 extern void *malloc LARGS((int));
25 extern void free LARGS((void *));
26 #ifndef _IBMR2
27 - extern int open LARGS((char const *,int,...));
28 + /* extern int open LARGS((const char *,int,...)); */
29 #endif
30 extern int close LARGS((int));
31 extern int read LARGS((int,void *,int));
32 @@ -638,7 +638,7 @@
33 } ;
34 #endif
36 -void main ARGS((int,char **));
37 +int main ARGS((int,char **));
38 void Usage ARGS((void));
39 void comprexx ARGS((char **));
40 void compdir ARGS((char *));
41 @@ -691,7 +691,7 @@
42 * deterministic, and can be done on the fly. Thus, the decompression
43 * procedure needs no input table, but tracks the way the table was built.
44 */
45 -void
46 +int
47 main(argc, argv)
48 REG1 int argc;
49 REG2 char *argv[];