Browse Source

Juergen Sawinski <george@mpimf-heidelberg.mpg.de>:

base/isdn4k-utils:
-add patch: multi-line-strings.patch
  -fix multi-line string literals for C89 compliance


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1215 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Juergen "George" Sawinski 21 years ago
parent
commit
cc08de07c9
1 changed files with 47 additions and 0 deletions
  1. +47
    -0
      package/base/isdn4k-utils/multi-line-strings.patch

+ 47
- 0
package/base/isdn4k-utils/multi-line-strings.patch

@ -0,0 +1,47 @@
diff -urN -x '*~' isdn4k-utils/ipppd/options.c isdn4k-utils-gcc-3.3.1/ipppd/options.c
--- isdn4k-utils-old/ipppd/options.c 2002-07-06 02:34:08.000000000 +0200
+++ isdn4k-utils-new/ipppd/options.c 2003-08-19 22:36:18.000000000 +0200
@@ -479,26 +479,25 @@
#define IMPLEMENTATION ""
#endif
-static char *usage_string = "\
-ipppd version %s patch level %d%s\n\
-Usage: %s [ options ], where options are:\n\
-\t<device> Communicate over the named device\n\
+static char *usage_string = ""
+"ipppd version %s patch level %d%s\n"
+"Usage: %s [ options ], where options are:\n"
+"\t<device> Communicate over the named device\n"
#ifdef INCLUDE_OBSOLETE_FEATURES
-\tcrtscts Use hardware RTS/CTS flow control\n\
-\t<speed> Set the baud rate to <speed>\n\
-\tmodem Use modem control lines\n\
+"\tcrtscts Use hardware RTS/CTS flow control\n"
+"\t<speed> Set the baud rate to <speed>\n"
+"\tmodem Use modem control lines\n"
#endif
-\t<loc>:<rem> Set the local and/or remote interface IP\n\
-\t\taddresses. (you also may use the option 'useifip' to get IPs).\n\
-\tasyncmap <n> Set the desired async map to hex <n>\n\
-\tauth Require authentication from peer\n\
-\tconnect <p> Invoke shell command <p> to set up the serial line\n\
-\tdefaultroute Add default route through interface\n\
-\tfile <f> Take options from file <f>\n\
-\tmru <n> Set MRU value to <n> for negotiation\n\
-\tnetmask <n> Set interface netmask to <n>\n\
-See ipppd(8) for more options.\n\
-";
+"\t<loc>:<rem> Set the local and/or remote interface IP\n"
+"\t\taddresses. (you also may use the option 'useifip' to get IPs).\n"
+"\tasyncmap <n> Set the desired async map to hex <n>\n"
+"\tauth Require authentication from peer\n"
+"\tconnect <p> Invoke shell command <p> to set up the serial line\n"
+"\tdefaultroute Add default route through interface\n"
+"\tfile <f> Take options from file <f>\n"
+"\tmru <n> Set MRU value to <n> for negotiation\n"
+"\tnetmask <n> Set interface netmask to <n>\n"
+"See ipppd(8) for more options.\n";
static char *current_option; /* the name of the option being parsed */

Loading…
Cancel
Save