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.

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