From 4f36a34d74c0e7f779472384b85da629a20e4932 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sat, 29 Jan 2005 01:36:08 +0000 Subject: [PATCH] Fix the build on 4.X. Reported by: dhw --- net/ethereal/files/patch-plugins_mate_mate.h | 11 +++++++++++ net/wireshark/files/patch-plugins_mate_mate.h | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 net/ethereal/files/patch-plugins_mate_mate.h create mode 100644 net/wireshark/files/patch-plugins_mate_mate.h diff --git a/net/ethereal/files/patch-plugins_mate_mate.h b/net/ethereal/files/patch-plugins_mate_mate.h new file mode 100644 index 000000000000..5b6360f48781 --- /dev/null +++ b/net/ethereal/files/patch-plugins_mate_mate.h @@ -0,0 +1,11 @@ +--- plugins/mate/mate.h.orig Fri Jan 28 20:21:03 2005 ++++ plugins/mate/mate.h Fri Jan 28 20:29:36 2005 +@@ -324,7 +324,7 @@ + extern void initialize_mate_runtime(void); + extern mate_pdu* mate_get_pdus(guint32 framenum); + extern void mate_analyze_frame(packet_info *pinfo, proto_tree* tree); +-extern int mate_packet(void* _U_, packet_info* _U_, epan_dissect_t* _U_,const void* _U_); ++extern int mate_packet(void *prs _U_, packet_info* tree _U_, epan_dissect_t *edt _U_,const void *dummy _U_); + + /* from mate_setup.c */ + extern mate_config* mate_make_config(guint8* filename); diff --git a/net/wireshark/files/patch-plugins_mate_mate.h b/net/wireshark/files/patch-plugins_mate_mate.h new file mode 100644 index 000000000000..5b6360f48781 --- /dev/null +++ b/net/wireshark/files/patch-plugins_mate_mate.h @@ -0,0 +1,11 @@ +--- plugins/mate/mate.h.orig Fri Jan 28 20:21:03 2005 ++++ plugins/mate/mate.h Fri Jan 28 20:29:36 2005 +@@ -324,7 +324,7 @@ + extern void initialize_mate_runtime(void); + extern mate_pdu* mate_get_pdus(guint32 framenum); + extern void mate_analyze_frame(packet_info *pinfo, proto_tree* tree); +-extern int mate_packet(void* _U_, packet_info* _U_, epan_dissect_t* _U_,const void* _U_); ++extern int mate_packet(void *prs _U_, packet_info* tree _U_, epan_dissect_t *edt _U_,const void *dummy _U_); + + /* from mate_setup.c */ + extern mate_config* mate_make_config(guint8* filename);