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.

66 lines
2.9 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/multi-line-strings.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. diff -urN -x '*~' isdn4k-utils/ipppd/options.c isdn4k-utils-gcc-3.3.1/ipppd/options.c
  20. --- isdn4k-utils-old/ipppd/options.c 2002-07-06 02:34:08.000000000 +0200
  21. +++ isdn4k-utils-new/ipppd/options.c 2003-08-19 22:36:18.000000000 +0200
  22. @@ -479,26 +479,25 @@
  23. #define IMPLEMENTATION ""
  24. #endif
  25. -static char *usage_string = "\
  26. -ipppd version %s patch level %d%s\n\
  27. -Usage: %s [ options ], where options are:\n\
  28. -\t<device> Communicate over the named device\n\
  29. +static char *usage_string = ""
  30. +"ipppd version %s patch level %d%s\n"
  31. +"Usage: %s [ options ], where options are:\n"
  32. +"\t<device> Communicate over the named device\n"
  33. #ifdef INCLUDE_OBSOLETE_FEATURES
  34. -\tcrtscts Use hardware RTS/CTS flow control\n\
  35. -\t<speed> Set the baud rate to <speed>\n\
  36. -\tmodem Use modem control lines\n\
  37. +"\tcrtscts Use hardware RTS/CTS flow control\n"
  38. +"\t<speed> Set the baud rate to <speed>\n"
  39. +"\tmodem Use modem control lines\n"
  40. #endif
  41. -\t<loc>:<rem> Set the local and/or remote interface IP\n\
  42. -\t\taddresses. (you also may use the option 'useifip' to get IPs).\n\
  43. -\tasyncmap <n> Set the desired async map to hex <n>\n\
  44. -\tauth Require authentication from peer\n\
  45. -\tconnect <p> Invoke shell command <p> to set up the serial line\n\
  46. -\tdefaultroute Add default route through interface\n\
  47. -\tfile <f> Take options from file <f>\n\
  48. -\tmru <n> Set MRU value to <n> for negotiation\n\
  49. -\tnetmask <n> Set interface netmask to <n>\n\
  50. -See ipppd(8) for more options.\n\
  51. -";
  52. +"\t<loc>:<rem> Set the local and/or remote interface IP\n"
  53. +"\t\taddresses. (you also may use the option 'useifip' to get IPs).\n"
  54. +"\tasyncmap <n> Set the desired async map to hex <n>\n"
  55. +"\tauth Require authentication from peer\n"
  56. +"\tconnect <p> Invoke shell command <p> to set up the serial line\n"
  57. +"\tdefaultroute Add default route through interface\n"
  58. +"\tfile <f> Take options from file <f>\n"
  59. +"\tmru <n> Set MRU value to <n> for negotiation\n"
  60. +"\tnetmask <n> Set interface netmask to <n>\n"
  61. +"See ipppd(8) for more options.\n";
  62. static char *current_option; /* the name of the option being parsed */