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.

92 lines
3.5 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/nikolaus/linesrv/gcc34.patch.linesrv
  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. --- ./server/html_status.c.orig 2004-09-24 13:25:35.000000000 +0200
  20. +++ ./server/html_status.c 2004-09-24 13:21:17.000000000 +0200
  21. @@ -16,16 +16,16 @@
  22. void print_html_header(FILE* where)
  23. {
  24. - fprintf(where, "<html><head><style type=\"text/css\">\n\
  25. -p, table, br { align: center; font-family: Arial, Helvetica }\n\
  26. -body, td { font-family: Arial, Helvetica }\n\
  27. -A { text-decoration: none;\n\
  28. -font-style: italic;\n\
  29. -font-family: Arial, Helvetica }\n\
  30. -</style></head><body bgcolor=\"#ffffff\" text=\"000080\">\n");
  31. - fprintf(where, "<center><p><a href=\"http://homepage.swissonline.ch/allenfuchs/stefan/lc/\">\
  32. -<img src=\"/lclog/lc-logo-01.gif\" width=\"246\" height=\"53\" border=\"0\"></a></p>\n\
  33. -<table width=\""TABLE_WIDTH"\" cellspacing=\"1\" cellpadding=\"2\" border=\"0\">\n");
  34. + fprintf(where, "<html><head><style type=\"text/css\">\n"
  35. +"p, table, br { align: center; font-family: Arial, Helvetica }\n"
  36. +"body, td { font-family: Arial, Helvetica }\r\n"
  37. +"A { text-decoration: none;\r\n"
  38. +"font-style: italic;\r\n"
  39. +"font-family: Arial, Helvetica }\r\n"
  40. +"</style></head><body bgcolor=\"#ffffff\" text=\"000080\">\n");
  41. + fprintf(where, "<center><p><a href=\"http://homepage.swissonline.ch/allenfuchs/stefan/lc/\">"
  42. +"<img src=\"/lclog/lc-logo-01.gif\" width=\"246\" height=\"53\" border=\"0\"></a></p>\n"
  43. +"<table width=\""TABLE_WIDTH"\" cellspacing=\"1\" cellpadding=\"2\" border=\"0\">\n");
  44. }
  45. void print_html_footer(FILE* where)
  46. --- ./server/user_pam.c.orig 2004-09-24 13:22:40.000000000 +0200
  47. +++ ./server/user_pam.c 2004-09-24 13:22:44.000000000 +0200
  48. @@ -30,7 +30,7 @@
  49. case PAM_TEXT_INFO:
  50. rsp[i].resp = strdup("!!");
  51. break;
  52. - default:
  53. + default:;
  54. }
  55. rsp[i].resp_retcode = PAM_SUCCESS;
  56. }
  57. --- ./server/cfg.c.orig 2004-09-24 12:32:07.000000000 +0200
  58. +++ ./server/cfg.c 2004-09-24 12:33:50.000000000 +0200
  59. @@ -660,7 +660,7 @@
  60. else list_del(&shtdn_ipl, (struct list_hdr_t*)iplentry);
  61. }
  62. break;
  63. - default:
  64. + default:;
  65. }
  66. }
  67. }
  68. --- ./server/proc_lcp3.c.orig 2004-09-24 13:21:52.000000000 +0200
  69. +++ ./server/proc_lcp3.c 2004-09-24 13:21:59.000000000 +0200
  70. @@ -158,7 +158,7 @@
  71. }
  72. who->status = CLT_OFFLINE;
  73. break;
  74. - default:
  75. + default:;
  76. // uh... don't dial -> status would be incorrect
  77. }
  78. lcp3_cmd_queue(CMD3_CLIENTSTAT, who, NULL, 0);
  79. --- ./server/proc.c.orig 2004-09-24 13:21:35.000000000 +0200
  80. +++ ./server/proc.c 2004-09-24 13:21:42.000000000 +0200
  81. @@ -223,7 +223,7 @@
  82. exec_dont_care_param(line->client_online, inet_ntoa(from->sin_addr));
  83. }
  84. break;
  85. - default:
  86. + default:;
  87. // uh... don't dial -> status would be incorrect
  88. }
  89. if ( who->status == CLT_ONLINE )