Initial commit: Uploaded everything from abs/core
[arch-rock.git] / support / isdn4k-utils / gcc3.3-slashdev.patch
blob53ac1b503da8db260c9cae91e2531084eb55268b
1 diff -urN isdn4k-utils.orig/Makefile isdn4k-utils/Makefile
2 --- isdn4k-utils.orig/Makefile 2003-07-11 14:13:04.000000000 +0200
3 +++ isdn4k-utils/Makefile 2003-07-11 14:19:00.000000000 +0200
4 @@ -132,12 +132,6 @@
6 install: rootperm
7 set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i install; done
8 - @if [ -c $(DESTDIR)/dev/isdnctrl0 ] && ls -l $(DESTDIR)/dev/isdnctrl0 | egrep "[[:space:]]45,[[:space:]]+64[[:space:]]" > /dev/null; \
9 - then \
10 - /bin/echo -e '(some) ISDN devices already exist, not creating them.\nUse scripts/makedev.sh manually if necessary.'; \
11 - else \
12 - sh scripts/makedev.sh $(DESTDIR) ; \
13 - fi
15 uninstall: rootperm
16 set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i uninstall; done
17 diff -urN isdn4k-utils.orig/ipppd/options.c isdn4k-utils/ipppd/options.c
18 --- isdn4k-utils.orig/ipppd/options.c 2003-07-11 14:13:05.000000000 +0200
19 +++ isdn4k-utils/ipppd/options.c 2003-07-11 14:19:13.000000000 +0200
20 @@ -479,26 +479,24 @@
21 #define IMPLEMENTATION ""
22 #endif
24 -static char *usage_string = "\
25 -ipppd version %s patch level %d%s\n\
26 -Usage: %s [ options ], where options are:\n\
27 -\t<device> Communicate over the named device\n\
28 +static char *usage_string = "ipppd version %s patch level %d%s\n"
29 +"Usage: %s [ options ], where options are:\n"
30 +"\t<device> Communicate over the named device\n"
31 #ifdef INCLUDE_OBSOLETE_FEATURES
32 -\tcrtscts Use hardware RTS/CTS flow control\n\
33 -\t<speed> Set the baud rate to <speed>\n\
34 -\tmodem Use modem control lines\n\
35 +"\tcrtscts Use hardware RTS/CTS flow control\n"
36 +"\t<speed> Set the baud rate to <speed>\n"
37 +"\tmodem Use modem control lines\n"
38 #endif
39 -\t<loc>:<rem> Set the local and/or remote interface IP\n\
40 -\t\taddresses. (you also may use the option 'useifip' to get IPs).\n\
41 -\tasyncmap <n> Set the desired async map to hex <n>\n\
42 -\tauth Require authentication from peer\n\
43 -\tconnect <p> Invoke shell command <p> to set up the serial line\n\
44 -\tdefaultroute Add default route through interface\n\
45 -\tfile <f> Take options from file <f>\n\
46 -\tmru <n> Set MRU value to <n> for negotiation\n\
47 -\tnetmask <n> Set interface netmask to <n>\n\
48 -See ipppd(8) for more options.\n\
49 -";
50 +"\t<loc>:<rem> Set the local and/or remote interface IP\n"
51 +"\t\t\taddresses. (you also may use the option 'useifip' to get IPs).\n"
52 +"\tasyncmap <n> Set the desired async map to hex <n>\n"
53 +"\tauth Require authentication from peer\n"
54 +"\tconnect <p> Invoke shell command <p> to set up the serial line\n"
55 +"\tdefaultroute Add default route through interface\n"
56 +"\tfile <f> Take options from file <f>\n"
57 +"\tmru <n> Set MRU value to <n> for negotiation\n"
58 +"\tnetmask <n> Set interface netmask to <n>\n"
59 +"See ipppd(8) for more options.\n";
61 static char *current_option; /* the name of the option being parsed */