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.

106 lines
3.4 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/esden/wvdial/gcc3_and_smallfix.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. diff -Nur wvdial-1.42/Makefile wvdial-1.42.new/Makefile
  23. --- wvdial-1.42/Makefile Fri May 11 22:01:21 2001
  24. +++ wvdial-1.42.new/Makefile Tue Oct 1 01:07:02 2002
  25. @@ -1,7 +1,7 @@
  26. TOPDIR=$(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
  27. DEBUG=0
  28. -PREFIX=/usr/local
  29. +PREFIX=/usr
  30. BINDIR=${PREFIX}/bin
  31. MANDIR=${PREFIX}/man
  32. PPPDIR=/etc/ppp/peers
  33. @@ -20,7 +20,7 @@
  34. [ -d ${MANDIR}/man1 ] || install -d ${MANDIR}/man1
  35. [ -d ${PPPDIR} ] || install -d ${PPPDIR}
  36. install -m 0755 --strip src/wvdial/wvdial src/wvdial/wvdialconf ${BINDIR}
  37. - install -m 0644 wvdial.1 wvdialconf.1 ${MANDIR}/man1
  38. + install -m 0644 wvdial.1 wvdialconf.1 wvdial.conf.5 ${MANDIR}/man1
  39. cp ppp.provider ${PPPDIR}/wvdial
  40. uninstall:
  41. diff -Nur wvdial-1.42/src/streams/wvlog.h wvdial-1.42.new/src/streams/wvlog.h
  42. --- wvdial-1.42/src/streams/wvlog.h Wed Mar 15 21:44:53 2000
  43. +++ wvdial-1.42.new/src/streams/wvlog.h Tue Oct 1 00:52:21 2002
  44. @@ -25,7 +25,7 @@
  45. // or transmits log messages.
  46. class WvLogRcvBase
  47. {
  48. - friend WvLog;
  49. + friend class WvLog;
  50. protected:
  51. const char *appname(const WvLog *log) const;
  52. virtual void log(const WvLog *source, int loglevel,
  53. @@ -43,7 +43,7 @@
  54. // to all registered WvLogRcv's.
  55. class WvLog : public WvStream
  56. {
  57. - friend WvLogRcvBase;
  58. + friend class WvLogRcvBase;
  59. public:
  60. enum LogLevel {
  61. Critical = 0,
  62. diff -Nur wvdial-1.42/src/utils/wvstringtable.cc wvdial-1.42.new/src/utils/wvstringtable.cc
  63. --- wvdial-1.42/src/utils/wvstringtable.cc Sat Apr 1 12:40:47 2000
  64. +++ wvdial-1.42.new/src/utils/wvstringtable.cc Tue Oct 1 00:46:57 2002
  65. @@ -8,7 +8,7 @@
  66. #include "strutils.h"
  67. -WvString WvStringTable::join(const char *joinchars = " ")
  68. +WvString WvStringTable::join(const char *joinchars)
  69. {
  70. WvStringTable::Iter s(*this);
  71. size_t totlen;
  72. @@ -16,6 +16,8 @@
  73. char *te;
  74. int x;
  75. + if(joinchars == NULL) joinchars=" ";
  76. +
  77. totlen = 1;
  78. for (s.rewind(); s.next(); )
  79. totlen += strlen(s()) + strlen(joinchars);
  80. diff -Nur wvdial-1.42/src/utils/wvtask.h wvdial-1.42.new/src/utils/wvtask.h
  81. --- wvdial-1.42/src/utils/wvtask.h Thu Mar 16 00:16:38 2000
  82. +++ wvdial-1.42.new/src/utils/wvtask.h Tue Oct 1 00:49:03 2002
  83. @@ -21,7 +21,7 @@
  84. class WvTask
  85. {
  86. - friend WvTaskMan;
  87. + friend class WvTaskMan;
  88. typedef void TaskFunc(void *userdata);
  89. static int taskcount, numtasks, numrunning;
  90. @@ -53,7 +53,7 @@
  91. class WvTaskMan
  92. {
  93. - friend WvTask;
  94. + friend class WvTask;
  95. WvTaskList free_tasks;
  96. void get_stack(WvTask &task, size_t size);