mirror of the now-defunct rocklinux.org
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.

85 lines
3.2 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/isdn4k-utils/gcc34.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -Naur isdn4k-utils-orig/isdnlog/isdnlog/isdnlog.h isdn4k-utils/isdnlog/isdnlog/isdnlog.h
  20. --- isdn4k-utils-orig/isdnlog/isdnlog/isdnlog.h 2001-06-21 09:34:56.000000000 -0700
  21. +++ isdn4k-utils/isdnlog/isdnlog/isdnlog.h 2004-07-11 10:55:34.000000000 -0700
  22. @@ -460,7 +460,7 @@
  23. _EXTERN void dotrace(void);
  24. _EXTERN int morectrl(int card);
  25. -_EXTERN void moreinfo(void);
  26. +extern void moreinfo(void);
  27. _EXTERN void morekbd(void);
  28. _EXTERN void processcint(void);
  29. _EXTERN void processflow(void);
  30. diff -Naur isdn4k-utils-orig/isdnlog/isdnlog/processor.c isdn4k-utils/isdnlog/isdnlog/processor.c
  31. --- isdn4k-utils-orig/isdnlog/isdnlog/processor.c 2002-04-01 10:06:10.000000000 -0800
  32. +++ isdn4k-utils/isdnlog/isdnlog/processor.c 2004-07-11 10:55:34.000000000 -0700
  33. @@ -5293,7 +5293,7 @@
  34. tei = BROADCAST; /* Wenn nach einer tei-Zeile keine hex:-Zeile kommt, tei ungueltig machen! */
  35. if ((type == SETUP) && !replay) { /* fetch additional info from "/dev/isdninfo" */
  36. - static void moreinfo(); /* soviel zu Objektorientiertem Denken ;-) */
  37. + /*static void moreinfo(); */ /* soviel zu Objektorientiertem Denken ;-) */
  38. moreinfo();
  39. } /* if */
  40. diff -Naur isdn4k-utils-orig/isdnlog/tools/cdb/cdbmake.c isdn4k-utils/isdnlog/tools/cdb/cdbmake.c
  41. --- isdn4k-utils-orig/isdnlog/tools/cdb/cdbmake.c 2002-02-22 03:10:25.000000000 -0800
  42. +++ isdn4k-utils/isdnlog/tools/cdb/cdbmake.c 2004-07-11 10:55:34.000000000 -0700
  43. @@ -3,8 +3,6 @@
  44. #include "freecdbmake.h"
  45. #include <unistd.h>
  46. -extern char *malloc();
  47. -
  48. void diesys(why) char *why; { perror(why); exit(111); }
  49. void writeerror() { diesys("cdbmake: fatal: unable to write"); }
  50. diff -Naur isdn4k-utils-orig/isdnlog/tools/rate.c isdn4k-utils/isdnlog/tools/rate.c
  51. --- isdn4k-utils-orig/isdnlog/tools/rate.c 2002-07-05 16:22:33.000000000 -0700
  52. +++ isdn4k-utils/isdnlog/tools/rate.c 2004-07-11 10:55:34.000000000 -0700
  53. @@ -1773,6 +1773,7 @@
  54. number=realloc(number, numbers*sizeof(int));
  55. number[numbers-1]=i;
  56. skip:
  57. + ;
  58. }
  59. while (isblank(*s)) s++;
  60. @@ -2344,6 +2345,7 @@
  61. }
  62. return UNKNOWN;
  63. done:
  64. + ;
  65. }
  66. }
  67. }
  68. diff -Naur isdn4k-utils-orig/lib/libtools.c isdn4k-utils/lib/libtools.c
  69. --- isdn4k-utils-orig/lib/libtools.c 1999-11-03 08:13:36.000000000 -0800
  70. +++ isdn4k-utils/lib/libtools.c 2004-07-11 10:55:34.000000000 -0700
  71. @@ -711,6 +711,7 @@
  72. case 'r': _mode |= R_OK;
  73. break;
  74. default :
  75. + ;
  76. }
  77. }