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.

96 lines
2.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../isdn4k-utils/isdn.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. --- ./isdnlog/isdnlog/isdnlog.h.orig Fri Dec 31 05:30:02 1999
  18. +++ ./isdnlog/isdnlog/isdnlog.h Fri Jun 29 11:38:15 2001
  19. @@ -284,6 +284,14 @@
  20. #include <rate.h>
  21. #include "socket.h"
  22. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  23. +#ifndef ISDN_MAX_CHANNELS
  24. +# define ISDN_MAX_CHANNELS 64
  25. +#endif
  26. +#ifndef ISDN_MAX_DRIVERS
  27. +# define ISDN_MAX_DRIVERS 32
  28. +#endif
  29. +
  30. /****************************************************************************/
  31. #define MAX_CALLS_IN_QUEUE 100
  32. --- ./xisdnload/xisdnload.c.orig Wed Jun 23 06:01:36 1999
  33. +++ ./xisdnload/xisdnload.c Fri Jun 29 11:13:42 2001
  34. @@ -60,6 +60,14 @@
  35. #include "xisdnload.bit"
  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. char *ProgramName;
  45. static void quit();
  46. --- ./imontty/imontty.c.orig Thu May 11 03:55:14 2000
  47. +++ ./imontty/imontty.c Fri Jun 29 11:14:07 2001
  48. @@ -12,6 +12,14 @@
  49. #include <linux/isdn.h>
  50. #include "imontty.h"
  51. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  52. +#ifndef ISDN_MAX_CHANNELS
  53. +# define ISDN_MAX_CHANNELS 64
  54. +#endif
  55. +#ifndef ISDN_MAX_DRIVERS
  56. +# define ISDN_MAX_DRIVERS 32
  57. +#endif
  58. +
  59. struct phone_entry {
  60. struct phone_entry *next;
  61. char phone[30];
  62. --- ./imon/imon.c.orig Sat May 17 05:23:35 1997
  63. +++ ./imon/imon.c Fri Jun 29 11:14:21 2001
  64. @@ -56,6 +56,11 @@
  65. #include <linux/isdn.h>
  66. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  67. +#ifndef ISDN_MAX_CHANNELS
  68. +# define ISDN_MAX_CHANNELS 64
  69. +#endif
  70. +
  71. #define KEY_Q 81
  72. #define KEY_q 113
  73. --- ./xmonisdn/Net.c.orig Tue Aug 3 07:00:20 1999
  74. +++ ./xmonisdn/Net.c Fri Jun 29 12:03:25 2001
  75. @@ -49,6 +49,11 @@
  76. #include <X11/Xmu/Drawing.h>
  77. #include <X11/extensions/shape.h>
  78. +/* Ugly hack, but the isdn header now defines it in kernel space. */
  79. +#ifndef ISDN_MAX_CHANNELS
  80. +# define ISDN_MAX_CHANNELS 64
  81. +#endif
  82. +
  83. /* Only allow calling scripts when setuid root if the -r option is given */
  84. extern int allow_setuid;
  85. /*