1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../isdn4k-utils/isdn.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
8 # More information can be found in the files COPYING and README.
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
16 # --- T2-COPYRIGHT-NOTE-END ---
18 --- ./isdnlog/isdnlog/isdnlog.h.orig Fri Dec 31 05:30:02 1999
19 +++ ./isdnlog/isdnlog/isdnlog.h Fri Jun 29 11:38:15 2001
24 +/* Ugly hack, but the isdn header now defines it in kernel space. */
25 +#ifndef ISDN_MAX_CHANNELS
26 +# define ISDN_MAX_CHANNELS 64
28 +#ifndef ISDN_MAX_DRIVERS
29 +# define ISDN_MAX_DRIVERS 32
32 /****************************************************************************/
34 #define MAX_CALLS_IN_QUEUE 100
35 --- ./xisdnload/xisdnload.c.orig Wed Jun 23 06:01:36 1999
36 +++ ./xisdnload/xisdnload.c Fri Jun 29 11:13:42 2001
39 #include "xisdnload.bit"
41 +/* Ugly hack, but the isdn header now defines it in kernel space. */
42 +#ifndef ISDN_MAX_CHANNELS
43 +# define ISDN_MAX_CHANNELS 64
45 +#ifndef ISDN_MAX_DRIVERS
46 +# define ISDN_MAX_DRIVERS 32
52 --- ./imontty/imontty.c.orig Thu May 11 03:55:14 2000
53 +++ ./imontty/imontty.c Fri Jun 29 11:14:07 2001
55 #include <linux/isdn.h>
58 +/* Ugly hack, but the isdn header now defines it in kernel space. */
59 +#ifndef ISDN_MAX_CHANNELS
60 +# define ISDN_MAX_CHANNELS 64
62 +#ifndef ISDN_MAX_DRIVERS
63 +# define ISDN_MAX_DRIVERS 32
67 struct phone_entry *next;
69 --- ./imon/imon.c.orig Sat May 17 05:23:35 1997
70 +++ ./imon/imon.c Fri Jun 29 11:14:21 2001
73 #include <linux/isdn.h>
75 +/* Ugly hack, but the isdn header now defines it in kernel space. */
76 +#ifndef ISDN_MAX_CHANNELS
77 +# define ISDN_MAX_CHANNELS 64
83 --- ./xmonisdn/Net.c.orig Tue Aug 3 07:00:20 1999
84 +++ ./xmonisdn/Net.c Fri Jun 29 12:03:25 2001
86 #include <X11/Xmu/Drawing.h>
87 #include <X11/extensions/shape.h>
89 +/* Ugly hack, but the isdn header now defines it in kernel space. */
90 +#ifndef ISDN_MAX_CHANNELS
91 +# define ISDN_MAX_CHANNELS 64
94 /* Only allow calling scripts when setuid root if the -r option is given */
95 extern int allow_setuid;