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.

112 lines
3.3 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 - 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. --- ./iprofd/iprofd.c.orig Fri Jun 29 11:08:29 2001
  20. +++ ./iprofd/iprofd.c Fri Jun 29 11:08:29 2001
  21. @@ -62,6 +62,11 @@
  22. #include <signal.h>
  23. #include <linux/isdn.h>
  24. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  25. +#ifndef ISDN_MAX_CHANNELS
  26. +# define ISDN_MAX_CHANNELS 64
  27. +#endif
  28. +
  29. typedef unsigned char uchar;
  30. int isdnctrl_fd;
  31. --- ./isdnlog/isdnlog/isdnlog.h.orig Fri Dec 31 05:30:02 1999
  32. +++ ./isdnlog/isdnlog/isdnlog.h Fri Jun 29 11:38:15 2001
  33. @@ -284,6 +284,14 @@
  34. #include <rate.h>
  35. #include "socket.h"
  36. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  37. +#ifndef ISDN_MAX_CHANNELS
  38. +# define ISDN_MAX_CHANNELS 64
  39. +#endif
  40. +#ifndef ISDN_MAX_DRIVERS
  41. +# define ISDN_MAX_DRIVERS 32
  42. +#endif
  43. +
  44. /****************************************************************************/
  45. #define MAX_CALLS_IN_QUEUE 100
  46. --- ./xisdnload/xisdnload.c.orig Wed Jun 23 06:01:36 1999
  47. +++ ./xisdnload/xisdnload.c Fri Jun 29 11:13:42 2001
  48. @@ -60,6 +60,14 @@
  49. #include "xisdnload.bit"
  50. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  51. +#ifndef ISDN_MAX_CHANNELS
  52. +# define ISDN_MAX_CHANNELS 64
  53. +#endif
  54. +#ifndef ISDN_MAX_DRIVERS
  55. +# define ISDN_MAX_DRIVERS 32
  56. +#endif
  57. +
  58. char *ProgramName;
  59. static void quit();
  60. --- ./imontty/imontty.c.orig Thu May 11 03:55:14 2000
  61. +++ ./imontty/imontty.c Fri Jun 29 11:14:07 2001
  62. @@ -12,6 +12,14 @@
  63. #include <linux/isdn.h>
  64. #include "imontty.h"
  65. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  66. +#ifndef ISDN_MAX_CHANNELS
  67. +# define ISDN_MAX_CHANNELS 64
  68. +#endif
  69. +#ifndef ISDN_MAX_DRIVERS
  70. +# define ISDN_MAX_DRIVERS 32
  71. +#endif
  72. +
  73. struct phone_entry {
  74. struct phone_entry *next;
  75. char phone[30];
  76. --- ./imon/imon.c.orig Sat May 17 05:23:35 1997
  77. +++ ./imon/imon.c Fri Jun 29 11:14:21 2001
  78. @@ -56,6 +56,11 @@
  79. #include <linux/isdn.h>
  80. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  81. +#ifndef ISDN_MAX_CHANNELS
  82. +# define ISDN_MAX_CHANNELS 64
  83. +#endif
  84. +
  85. #define KEY_Q 81
  86. #define KEY_q 113
  87. --- ./xmonisdn/Net.c.orig Tue Aug 3 07:00:20 1999
  88. +++ ./xmonisdn/Net.c Fri Jun 29 12:03:25 2001
  89. @@ -49,6 +49,11 @@
  90. #include <X11/Xmu/Drawing.h>
  91. #include <X11/extensions/shape.h>
  92. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  93. +#ifndef ISDN_MAX_CHANNELS
  94. +# define ISDN_MAX_CHANNELS 64
  95. +#endif
  96. +
  97. /* Only allow calling scripts when setuid root if the -r option is given */
  98. extern int allow_setuid;
  99. /*