OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.6 KiB

  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 ---
  16. Some glibc-2.3.4 / gcc-3.4 changes.
  17. - Rene Rebe <rene@exactcode.de>
  18. --- ncompress-4.2.4/compress42.c.orig 2004-05-03 19:39:12.000000000 +0200
  19. +++ ncompress-4.2.4/compress42.c 2004-05-03 19:42:08.000000000 +0200
  20. @@ -172,7 +172,7 @@
  21. extern void *malloc LARGS((int));
  22. extern void free LARGS((void *));
  23. #ifndef _IBMR2
  24. - extern int open LARGS((char const *,int,...));
  25. + /* extern int open LARGS((const char *,int,...)); */
  26. #endif
  27. extern int close LARGS((int));
  28. extern int read LARGS((int,void *,int));
  29. @@ -638,7 +638,7 @@
  30. } ;
  31. #endif
  32. -void main ARGS((int,char **));
  33. +int main ARGS((int,char **));
  34. void Usage ARGS((void));
  35. void comprexx ARGS((char **));
  36. void compdir ARGS((char *));
  37. @@ -691,7 +691,7 @@
  38. * deterministic, and can be done on the fly. Thus, the decompression
  39. * procedure needs no input table, but tracks the way the table was built.
  40. */
  41. -void
  42. +int
  43. main(argc, argv)
  44. REG1 int argc;
  45. REG2 char *argv[];