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.

115 lines
3.4 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/isdn.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- ./iprofd/iprofd.c.orig Fri Jun 29 11:08:29 2001
  23. +++ ./iprofd/iprofd.c Fri Jun 29 11:08:29 2001
  24. @@ -62,6 +62,11 @@
  25. #include <signal.h>
  26. #include <linux/isdn.h>
  27. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  28. +#ifndef ISDN_MAX_CHANNELS
  29. +# define ISDN_MAX_CHANNELS 64
  30. +#endif
  31. +
  32. typedef unsigned char uchar;
  33. int isdnctrl_fd;
  34. --- ./isdnlog/isdnlog/isdnlog.h.orig Fri Dec 31 05:30:02 1999
  35. +++ ./isdnlog/isdnlog/isdnlog.h Fri Jun 29 11:38:15 2001
  36. @@ -284,6 +284,14 @@
  37. #include <rate.h>
  38. #include "socket.h"
  39. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  40. +#ifndef ISDN_MAX_CHANNELS
  41. +# define ISDN_MAX_CHANNELS 64
  42. +#endif
  43. +#ifndef ISDN_MAX_DRIVERS
  44. +# define ISDN_MAX_DRIVERS 32
  45. +#endif
  46. +
  47. /****************************************************************************/
  48. #define MAX_CALLS_IN_QUEUE 100
  49. --- ./xisdnload/xisdnload.c.orig Wed Jun 23 06:01:36 1999
  50. +++ ./xisdnload/xisdnload.c Fri Jun 29 11:13:42 2001
  51. @@ -60,6 +60,14 @@
  52. #include "xisdnload.bit"
  53. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  54. +#ifndef ISDN_MAX_CHANNELS
  55. +# define ISDN_MAX_CHANNELS 64
  56. +#endif
  57. +#ifndef ISDN_MAX_DRIVERS
  58. +# define ISDN_MAX_DRIVERS 32
  59. +#endif
  60. +
  61. char *ProgramName;
  62. static void quit();
  63. --- ./imontty/imontty.c.orig Thu May 11 03:55:14 2000
  64. +++ ./imontty/imontty.c Fri Jun 29 11:14:07 2001
  65. @@ -12,6 +12,14 @@
  66. #include <linux/isdn.h>
  67. #include "imontty.h"
  68. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  69. +#ifndef ISDN_MAX_CHANNELS
  70. +# define ISDN_MAX_CHANNELS 64
  71. +#endif
  72. +#ifndef ISDN_MAX_DRIVERS
  73. +# define ISDN_MAX_DRIVERS 32
  74. +#endif
  75. +
  76. struct phone_entry {
  77. struct phone_entry *next;
  78. char phone[30];
  79. --- ./imon/imon.c.orig Sat May 17 05:23:35 1997
  80. +++ ./imon/imon.c Fri Jun 29 11:14:21 2001
  81. @@ -56,6 +56,11 @@
  82. #include <linux/isdn.h>
  83. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  84. +#ifndef ISDN_MAX_CHANNELS
  85. +# define ISDN_MAX_CHANNELS 64
  86. +#endif
  87. +
  88. #define KEY_Q 81
  89. #define KEY_q 113
  90. --- ./xmonisdn/Net.c.orig Tue Aug 3 07:00:20 1999
  91. +++ ./xmonisdn/Net.c Fri Jun 29 12:03:25 2001
  92. @@ -49,6 +49,11 @@
  93. #include <X11/Xmu/Drawing.h>
  94. #include <X11/extensions/shape.h>
  95. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  96. +#ifndef ISDN_MAX_CHANNELS
  97. +# define ISDN_MAX_CHANNELS 64
  98. +#endif
  99. +
  100. /* Only allow calling scripts when setuid root if the -r option is given */
  101. extern int allow_setuid;
  102. /*