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.6 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/tcp_wrappers/errno-fix.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 -urN tcp_wrappers_7.6-orig/hosts_access.c tcp_wrappers_7.6/hosts_access.c
  23. --- tcp_wrappers_7.6-orig/hosts_access.c 1997-02-12 02:13:23.000000000 +0100
  24. +++ tcp_wrappers_7.6/hosts_access.c 2003-03-05 16:07:28.000000000 +0100
  25. @@ -35,7 +35,7 @@
  26. #include <string.h>
  27. extern char *fgets();
  28. -extern int errno;
  29. +/*extern int errno;*/
  30. #ifndef INADDR_NONE
  31. #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
  32. diff -urN tcp_wrappers_7.6-orig/inetcf.c tcp_wrappers_7.6/inetcf.c
  33. --- tcp_wrappers_7.6-orig/inetcf.c 1997-02-12 02:13:24.000000000 +0100
  34. +++ tcp_wrappers_7.6/inetcf.c 2003-03-05 16:07:41.000000000 +0100
  35. @@ -15,7 +15,7 @@
  36. #include <errno.h>
  37. #include <string.h>
  38. -extern int errno;
  39. +/*extern int errno;*/
  40. extern void exit();
  41. #include "tcpd.h"
  42. diff -urN tcp_wrappers_7.6-orig/percent_m.c tcp_wrappers_7.6/percent_m.c
  43. --- tcp_wrappers_7.6-orig/percent_m.c 1994-12-28 17:42:37.000000000 +0100
  44. +++ tcp_wrappers_7.6/percent_m.c 2003-03-05 16:07:58.000000000 +0100
  45. @@ -12,7 +12,7 @@
  46. #include <errno.h>
  47. #include <string.h>
  48. -extern int errno;
  49. +/*extern int errno;*/
  50. #ifndef SYS_ERRLIST_DEFINED
  51. extern char *sys_errlist[];
  52. extern int sys_nerr;
  53. diff -urN tcp_wrappers_7.6-orig/tcpdchk.c tcp_wrappers_7.6/tcpdchk.c
  54. --- tcp_wrappers_7.6-orig/tcpdchk.c 1997-02-12 02:13:25.000000000 +0100
  55. +++ tcp_wrappers_7.6/tcpdchk.c 2003-03-05 16:08:14.000000000 +0100
  56. @@ -31,7 +31,7 @@
  57. #include <netdb.h>
  58. #include <string.h>
  59. -extern int errno;
  60. +/*extern int errno;*/
  61. extern void exit();
  62. extern int optind;
  63. extern char *optarg;
  64. diff -urN tcp_wrappers_7.6-orig/tli-sequent.c tcp_wrappers_7.6/tli-sequent.c
  65. --- tcp_wrappers_7.6-orig/tli-sequent.c 1994-12-28 17:42:51.000000000 +0100
  66. +++ tcp_wrappers_7.6/tli-sequent.c 2003-03-05 16:08:32.000000000 +0100
  67. @@ -30,7 +30,7 @@
  68. #include <errno.h>
  69. #include <string.h>
  70. -extern int errno;
  71. +/*extern int errno;*/
  72. extern char *sys_errlist[];
  73. extern int sys_nerr;
  74. extern int t_errno;
  75. diff -urN tcp_wrappers_7.6-orig/tli.c tcp_wrappers_7.6/tli.c
  76. --- tcp_wrappers_7.6-orig/tli.c 1997-03-21 19:27:26.000000000 +0100
  77. +++ tcp_wrappers_7.6/tli.c 2003-03-05 16:08:45.000000000 +0100
  78. @@ -39,7 +39,7 @@
  79. #include <string.h>
  80. extern char *nc_sperror();
  81. -extern int errno;
  82. +/*extern int errno;*/
  83. extern char *sys_errlist[];
  84. extern int sys_nerr;
  85. extern int t_errno;
  86. diff -urN tcp_wrappers_7.6-orig/workarounds.c tcp_wrappers_7.6/workarounds.c
  87. --- tcp_wrappers_7.6-orig/workarounds.c 1996-03-19 16:22:26.000000000 +0100
  88. +++ tcp_wrappers_7.6/workarounds.c 2003-03-05 16:08:59.000000000 +0100
  89. @@ -22,7 +22,7 @@
  90. #include <syslog.h>
  91. #include <string.h>
  92. -extern int errno;
  93. +/*extern int errno;*/
  94. #include "tcpd.h"