inetutils.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Index: config.hin
  2. --- config.hin.orig 2007-06-29 01:04:32 +0200
  3. +++ config.hin 2007-07-10 08:48:56 +0200
  4. @@ -729,8 +729,8 @@
  5. /* Define to 1 if `ut_user' is member of `struct utmp'. */
  6. #undef HAVE_STRUCT_UTMP_UT_USER
  7. -/* Define to 1 if `ifr_index' is member of `stuct ifreq'. */
  8. -#undef HAVE_STUCT_IFREQ_IFR_INDEX
  9. +/* Define to 1 if `ifr_index' is member of `struct ifreq'. */
  10. +#undef HAVE_STRUCT_IFREQ_IFR_INDEX
  11. /* Define to 1 if you have the <sysexits.h> header file. */
  12. #undef HAVE_SYSEXITS_H
  13. Index: configure
  14. --- configure.orig 2007-06-29 01:04:23 +0200
  15. +++ configure 2007-07-10 09:19:54 +0200
  16. @@ -27908,6 +27908,8 @@
  17. cat >>conftest.$ac_ext <<_ACEOF
  18. /* end confdefs.h. */
  19. $ac_includes_default
  20. +#include <sys/types.h>
  21. +#include <sys/socket.h>
  22. int
  23. main ()
  24. {
  25. @@ -29243,7 +29245,7 @@
  26. int
  27. main ()
  28. {
  29. -static stuct ifreq ac_aggr;
  30. +static struct ifreq ac_aggr;
  31. if (sizeof(ac_aggr.ifr_index))
  32. return 0;
  33. ;
  34. @@ -29285,7 +29287,7 @@
  35. if test $ac_cv_member_stuct_ifreq_ifr_index = yes; then
  36. cat >>confdefs.h <<_ACEOF
  37. -#define HAVE_STUCT_IFREQ_IFR_INDEX 1
  38. +#define HAVE_STRUCT_IFREQ_IFR_INDEX 1
  39. _ACEOF
  40. Index: talk/io.c
  41. --- talk/io.c.orig 2006-10-11 23:46:26 +0200
  42. +++ talk/io.c 2007-07-10 08:52:06 +0200
  43. @@ -129,7 +129,9 @@
  44. }
  45. extern int errno;
  46. +#if !defined(__FreeBSD__)
  47. extern int sys_nerr;
  48. +#endif
  49. /*
  50. * p_error prints the system error message on the standard location