ethereal.patch 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. --- gtk/Makefile.in.orig 2004-07-08 00:26:54 +0200
  2. +++ gtk/Makefile.in 2004-07-12 14:09:42 +0200
  3. @@ -562,13 +562,6 @@
  4. .SUFFIXES:
  5. .SUFFIXES: .c .lo .o .obj
  6. -$(srcdir)/Makefile.in: Makefile.am $(srcdir)/Makefile.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
  7. - cd $(top_srcdir) && \
  8. - $(AUTOMAKE) --gnu gtk/Makefile
  9. -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  10. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
  11. -doxygen.cfg: $(top_builddir)/config.status doxygen.cfg.in
  12. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
  13. AR = ar
  14. @@ -775,7 +768,7 @@
  15. done
  16. check-am: all-am
  17. check: check-am
  18. -all-am: Makefile $(LIBRARIES) $(HEADERS)
  19. +all-am: $(LIBRARIES) $(HEADERS)
  20. installdirs:
  21. --- gtk/main.c.orig 2004-03-30 10:49:43.000000000 +0200
  22. +++ gtk/main.c 2004-03-30 10:49:49.000000000 +0200
  23. @@ -47,10 +47,7 @@
  24. #include <string.h>
  25. #include <ctype.h>
  26. -
  27. -#ifdef HAVE_UNISTD_H
  28. #include <unistd.h>
  29. -#endif
  30. #ifdef HAVE_IO_H
  31. #include <io.h> /* open/close on win32 */
  32. --- epan/inet_pton.c.orig 2004-03-30 14:52:39.000000000 +0200
  33. +++ epan/inet_pton.c 2004-03-30 14:53:29.000000000 +0200
  34. @@ -15,6 +15,8 @@
  35. * SOFTWARE.
  36. */
  37. +#if !defined(__FreeBSD__)
  38. +
  39. #ifdef HAVE_CONFIG_H
  40. #include "config.h"
  41. #endif
  42. @@ -267,3 +269,4 @@
  43. return (1);
  44. }
  45. #endif
  46. +#endif /* #if !defined(__FreeBSD__) */
  47. --- Makefile.in.orig 2004-03-30 14:58:08.000000000 +0200
  48. +++ Makefile.in 2004-03-30 14:58:21.000000000 +0200
  49. @@ -772,7 +772,6 @@
  50. $(ethereal_optional_objects) \
  51. $(ethereal_additional_libs) \
  52. @SNMP_LIBS@ @SSL_LIBS@ \
  53. - $(plugin_ldadd) \
  54. @PCRE_LIBS@ \
  55. @PCAP_LIBS@ @GTK_LIBS@ @ADNS_LIBS@
  56. @@ -796,7 +795,6 @@
  57. $(ethereal_optional_objects) \
  58. $(tethereal_additional_libs) \
  59. @SNMP_LIBS@ @SSL_LIBS@ \
  60. - $(plugin_ldadd) \
  61. @PCRE_LIBS@ \
  62. @GLIB_LIBS@ -lm \
  63. @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@
  64. Index: configure
  65. --- configure.orig 2004-10-21 04:50:23.000000000 +0200
  66. +++ configure 2004-10-23 11:44:44.242378655 +0200
  67. @@ -15267,6 +15267,9 @@
  68. else
  69. ac_check_lib_save_LIBS=$LIBS
  70. LIBS="-lcrypto $LIBS"
  71. +case "$host_os" in
  72. + solaris* ) LIBS="$LIBS -lsocket -lnsl" ;;
  73. +esac
  74. cat >conftest.$ac_ext <<_ACEOF
  75. /* confdefs.h. */
  76. _ACEOF