pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/wireshark wireshark: replace incomplete fix for Gl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6bd3804496fa
branches:  trunk
changeset: 449813:6bd3804496fa
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Apr 06 10:13:32 2021 +0000

description:
wireshark: replace incomplete fix for Glib2 fallout with upstream patch

diffstat:

 net/wireshark/distinfo                                      |  22 +++++++---
 net/wireshark/patches/patch-caputils_capture__ifinfo.h      |   9 ++-
 net/wireshark/patches/patch-epan_dissectors_dissectors.h    |  24 +++++++++++
 net/wireshark/patches/patch-epan_epan.h                     |   9 ++-
 net/wireshark/patches/patch-epan_prefs.h                    |   9 ++-
 net/wireshark/patches/patch-epan_value__string.h            |  23 +++++++++++
 net/wireshark/patches/patch-epan_wmem_wmem__user__cb__int.h |  23 +++++++++++
 net/wireshark/patches/patch-ui_packet__range.h              |  24 +++++++++++
 net/wireshark/patches/patch-ui_recent.h                     |   9 ++-
 net/wireshark/patches/patch-ui_rtp__media.h                 |  27 +++++++++++++
 net/wireshark/patches/patch-ui_rtp__stream.h                |  26 ++++++++++++
 net/wireshark/patches/patch-ui_taps.h                       |  24 +++++++++++
 net/wireshark/patches/patch-ui_voip__calls.h                |  26 ++++++++++++
 net/wireshark/patches/patch-wsutil_file__util.h             |  27 +++++++++++++
 net/wireshark/patches/patch-wsutil_plugins.h                |  25 ++++++++++++
 15 files changed, 288 insertions(+), 19 deletions(-)

diffs (truncated from 393 to 300 lines):

diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/distinfo
--- a/net/wireshark/distinfo    Tue Apr 06 10:01:23 2021 +0000
+++ b/net/wireshark/distinfo    Tue Apr 06 10:13:32 2021 +0000
@@ -1,13 +1,21 @@
-$NetBSD: distinfo,v 1.140 2021/03/23 10:48:41 adam Exp $
+$NetBSD: distinfo,v 1.141 2021/04/06 10:13:32 tnn Exp $
 
 SHA1 (wireshark-3.4.4.tar.xz) = fa5c553596dcc6a59735f96a9a0845e3c40abab2
 RMD160 (wireshark-3.4.4.tar.xz) = 677c151b94af472ae3ae390e51781ec0cc371ddd
 SHA512 (wireshark-3.4.4.tar.xz) = 388b5634894f08bb1a0052f989133c2a8457fbf6525d1bb557f3ffce73da8063fd9fe82b50b5ababc30fa36ce154bf9d2a3d91d76e03913d6516ca61b4b6b172
 Size (wireshark-3.4.4.tar.xz) = 32290424 bytes
 SHA1 (patch-CMakeLists.txt) = 8faf8f63d75d5733a69b52ce9fbf291bd90a5575
-SHA1 (patch-caputils_capture__ifinfo.h) = 8eef1414274fae7a374776c2533343bf02ca114e
-SHA1 (patch-epan_conversation.h) = b3cdd98602570cbcb33b35e9362ff8802753edd8
-SHA1 (patch-epan_epan.h) = 869211117930b4a246f9bd1f199e3a201fdc39e3
-SHA1 (patch-epan_epan__dissect.h) = 9fe4d59c38786c1981ada2dc356f0d01a0703bf0
-SHA1 (patch-epan_prefs.h) = 4678aaaee9ea9e481b3d38f5bc491a86f7c0a75b
-SHA1 (patch-ui_recent.h) = 3358ba7d6a292741d34274db9fb86c02541c861f
+SHA1 (patch-caputils_capture__ifinfo.h) = adb4c22accb41b3ac402b458be4efaa258abd4b8
+SHA1 (patch-epan_dissectors_dissectors.h) = 9a31c52fbbb97bf44444583a2b787243fbbf74b6
+SHA1 (patch-epan_epan.h) = 6bcd31b572a763092454be57a49c522cbba6824b
+SHA1 (patch-epan_prefs.h) = bdb744b3f96ed6965576316bcde121694f0de947
+SHA1 (patch-epan_value__string.h) = b3ffb1931a1e47c664fc50bcd121ec2880ce05ea
+SHA1 (patch-epan_wmem_wmem__user__cb__int.h) = d7a1f31771244521de3291b3a360e34bf47f6fe5
+SHA1 (patch-ui_packet__range.h) = c2dafea7fdebc15e46782e02dce32a00e3f32c98
+SHA1 (patch-ui_recent.h) = ce8769e82c8a90feed044ca31e363349b02bafcb
+SHA1 (patch-ui_rtp__media.h) = 355f9009107bde38537303cf18c03e2c7017587f
+SHA1 (patch-ui_rtp__stream.h) = ad756a7dff9fcfc637401f4bde0cff05bad87d62
+SHA1 (patch-ui_taps.h) = d8ad1f7568b06bfd55bb8c43303ed6782fba319e
+SHA1 (patch-ui_voip__calls.h) = 516ced815808d25574553de807b12ba08501b328
+SHA1 (patch-wsutil_file__util.h) = 06b284f1626dd1f1eca751f0e2113dacb1123b29
+SHA1 (patch-wsutil_plugins.h) = b663efdc7f78cd6b268321d7b7445585f7119b13
diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/patches/patch-caputils_capture__ifinfo.h
--- a/net/wireshark/patches/patch-caputils_capture__ifinfo.h    Tue Apr 06 10:01:23 2021 +0000
+++ b/net/wireshark/patches/patch-caputils_capture__ifinfo.h    Tue Apr 06 10:13:32 2021 +0000
@@ -1,8 +1,11 @@
-$NetBSD: patch-caputils_capture__ifinfo.h,v 1.1 2021/03/23 10:48:42 adam Exp $
+$NetBSD: patch-caputils_capture__ifinfo.h,v 1.2 2021/04/06 10:13:32 tnn Exp $
 
-Fix building with Glib 2.68.
+From c8246c99737c7a844f45eb0e777382cc68397d17 Mon Sep 17 00:00:00 2001
+From: Michal Ruprich <michalruprich%gmail.com@localhost>
+Date: Wed, 10 Feb 2021 15:32:18 +0100
+Subject: [PATCH] Moving glib.h out of extern C
 
---- caputils/capture_ifinfo.h.orig     2021-03-23 09:25:20.000000000 +0000
+--- caputils/capture_ifinfo.h.orig     2021-03-10 18:21:20.000000000 +0000
 +++ caputils/capture_ifinfo.h
 @@ -11,12 +11,12 @@
  #ifndef __CAPTURE_IFINFO_H__
diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/patches/patch-epan_dissectors_dissectors.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/patches/patch-epan_dissectors_dissectors.h  Tue Apr 06 10:13:32 2021 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-epan_dissectors_dissectors.h,v 1.1 2021/04/06 10:13:32 tnn Exp $
+
+From c8246c99737c7a844f45eb0e777382cc68397d17 Mon Sep 17 00:00:00 2001
+From: Michal Ruprich <michalruprich%gmail.com@localhost>
+Date: Wed, 10 Feb 2021 15:32:18 +0100
+Subject: [PATCH] Moving glib.h out of extern C
+
+--- epan/dissectors/dissectors.h.orig  2021-03-10 18:21:20.000000000 +0000
++++ epan/dissectors/dissectors.h
+@@ -11,12 +11,12 @@
+ #ifndef __DISSECTOR_REGISTER_H__
+ #define __DISSECTOR_REGISTER_H__
+ 
++#include <glib.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif /* __cplusplus */
+ 
+-#include <glib.h>
+-
+ typedef struct _dissector_reg {
+     const char *cb_name;
+     void (*cb_func)(void);
diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/patches/patch-epan_epan.h
--- a/net/wireshark/patches/patch-epan_epan.h   Tue Apr 06 10:01:23 2021 +0000
+++ b/net/wireshark/patches/patch-epan_epan.h   Tue Apr 06 10:13:32 2021 +0000
@@ -1,8 +1,11 @@
-$NetBSD: patch-epan_epan.h,v 1.1 2021/03/23 10:48:42 adam Exp $
+$NetBSD: patch-epan_epan.h,v 1.2 2021/04/06 10:13:32 tnn Exp $
 
-Fix building with Glib 2.68.
+From c8246c99737c7a844f45eb0e777382cc68397d17 Mon Sep 17 00:00:00 2001
+From: Michal Ruprich <michalruprich%gmail.com@localhost>
+Date: Wed, 10 Feb 2021 15:32:18 +0100
+Subject: [PATCH] Moving glib.h out of extern C
 
---- epan/epan.h.orig   2021-03-23 09:17:20.000000000 +0000
+--- epan/epan.h.orig   2021-03-10 18:21:20.000000000 +0000
 +++ epan/epan.h
 @@ -10,11 +10,12 @@
  #ifndef __EPAN_H__
diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/patches/patch-epan_prefs.h
--- a/net/wireshark/patches/patch-epan_prefs.h  Tue Apr 06 10:01:23 2021 +0000
+++ b/net/wireshark/patches/patch-epan_prefs.h  Tue Apr 06 10:13:32 2021 +0000
@@ -1,8 +1,11 @@
-$NetBSD: patch-epan_prefs.h,v 1.1 2021/03/23 10:48:42 adam Exp $
+$NetBSD: patch-epan_prefs.h,v 1.2 2021/04/06 10:13:32 tnn Exp $
 
-Fix building with Glib 2.68.
+From c8246c99737c7a844f45eb0e777382cc68397d17 Mon Sep 17 00:00:00 2001
+From: Michal Ruprich <michalruprich%gmail.com@localhost>
+Date: Wed, 10 Feb 2021 15:32:18 +0100
+Subject: [PATCH] Moving glib.h out of extern C
 
---- epan/prefs.h.orig  2021-03-23 08:55:05.000000000 +0000
+--- epan/prefs.h.orig  2021-03-10 18:21:20.000000000 +0000
 +++ epan/prefs.h
 @@ -11,12 +11,12 @@
  #ifndef __PREFS_H__
diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/patches/patch-epan_value__string.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/patches/patch-epan_value__string.h  Tue Apr 06 10:13:32 2021 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-epan_value__string.h,v 1.1 2021/04/06 10:13:32 tnn Exp $
+
+From c8246c99737c7a844f45eb0e777382cc68397d17 Mon Sep 17 00:00:00 2001
+From: Michal Ruprich <michalruprich%gmail.com@localhost>
+Date: Wed, 10 Feb 2021 15:32:18 +0100
+Subject: [PATCH] Moving glib.h out of extern C
+
+--- epan/value_string.h.orig   2021-03-10 18:21:20.000000000 +0000
++++ epan/value_string.h
+@@ -11,11 +11,12 @@
+ #ifndef __VALUE_STRING_H__
+ #define __VALUE_STRING_H__
+ 
++#include <glib.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif /* __cplusplus */
+ 
+-#include <glib.h>
+ #include "ws_symbol_export.h"
+ #include "wmem/wmem.h"
+ 
diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/patches/patch-epan_wmem_wmem__user__cb__int.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/patches/patch-epan_wmem_wmem__user__cb__int.h       Tue Apr 06 10:13:32 2021 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-epan_wmem_wmem__user__cb__int.h,v 1.1 2021/04/06 10:13:32 tnn Exp $
+
+From c8246c99737c7a844f45eb0e777382cc68397d17 Mon Sep 17 00:00:00 2001
+From: Michal Ruprich <michalruprich%gmail.com@localhost>
+Date: Wed, 10 Feb 2021 15:32:18 +0100
+Subject: [PATCH] Moving glib.h out of extern C
+
+--- epan/wmem/wmem_user_cb_int.h.orig  2021-03-10 18:21:20.000000000 +0000
++++ epan/wmem/wmem_user_cb_int.h
+@@ -12,11 +12,12 @@
+ #ifndef __WMEM_USER_CB_INT_H__
+ #define __WMEM_USER_CB_INT_H__
+ 
++#include <glib.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif /* __cplusplus */
+ 
+-#include <glib.h>
+ #include "wmem_user_cb.h"
+ 
+ WS_DLL_LOCAL
diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/patches/patch-ui_packet__range.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/patches/patch-ui_packet__range.h    Tue Apr 06 10:13:32 2021 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ui_packet__range.h,v 1.1 2021/04/06 10:13:32 tnn Exp $
+
+From c8246c99737c7a844f45eb0e777382cc68397d17 Mon Sep 17 00:00:00 2001
+From: Michal Ruprich <michalruprich%gmail.com@localhost>
+Date: Wed, 10 Feb 2021 15:32:18 +0100
+Subject: [PATCH] Moving glib.h out of extern C
+
+--- ui/packet_range.h.orig     2021-03-10 18:21:20.000000000 +0000
++++ ui/packet_range.h
+@@ -14,12 +14,12 @@
+ #ifndef __PACKET_RANGE_H__
+ #define __PACKET_RANGE_H__
+ 
++#include <glib.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif /* __cplusplus */
+ 
+-#include <glib.h>
+-
+ #include <epan/range.h>
+ #include <epan/frame_data.h>
+ 
diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/patches/patch-ui_recent.h
--- a/net/wireshark/patches/patch-ui_recent.h   Tue Apr 06 10:01:23 2021 +0000
+++ b/net/wireshark/patches/patch-ui_recent.h   Tue Apr 06 10:13:32 2021 +0000
@@ -1,8 +1,11 @@
-$NetBSD: patch-ui_recent.h,v 1.1 2021/03/23 10:48:42 adam Exp $
+$NetBSD: patch-ui_recent.h,v 1.2 2021/04/06 10:13:32 tnn Exp $
 
-Fix building with Glib 2.68.
+From c8246c99737c7a844f45eb0e777382cc68397d17 Mon Sep 17 00:00:00 2001
+From: Michal Ruprich <michalruprich%gmail.com@localhost>
+Date: Wed, 10 Feb 2021 15:32:18 +0100
+Subject: [PATCH] Moving glib.h out of extern C
 
---- ui/recent.h.orig   2021-03-23 09:22:16.000000000 +0000
+--- ui/recent.h.orig   2021-03-10 18:21:20.000000000 +0000
 +++ ui/recent.h
 @@ -12,11 +12,12 @@
  #ifndef __RECENT_H__
diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/patches/patch-ui_rtp__media.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/patches/patch-ui_rtp__media.h       Tue Apr 06 10:13:32 2021 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-ui_rtp__media.h,v 1.1 2021/04/06 10:13:32 tnn Exp $
+
+From c8246c99737c7a844f45eb0e777382cc68397d17 Mon Sep 17 00:00:00 2001
+From: Michal Ruprich <michalruprich%gmail.com@localhost>
+Date: Wed, 10 Feb 2021 15:32:18 +0100
+Subject: [PATCH] Moving glib.h out of extern C
+
+--- ui/rtp_media.h.orig        2021-03-10 18:21:20.000000000 +0000
++++ ui/rtp_media.h
+@@ -15,6 +15,8 @@
+ #ifndef __RTP_MEDIA_H__
+ #define __RTP_MEDIA_H__
+ 
++#include <glib.h>
++
+ /** @file
+  *  "RTP Player" dialog box common routines.
+  *  @ingroup main_ui_group
+@@ -24,8 +26,6 @@
+ extern "C" {
+ #endif /* __cplusplus */
+ 
+-#include <glib.h>
+-
+ /****************************************************************************/
+ /* INTERFACE */
+ /****************************************************************************/
diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/patches/patch-ui_rtp__stream.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/patches/patch-ui_rtp__stream.h      Tue Apr 06 10:13:32 2021 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-ui_rtp__stream.h,v 1.1 2021/04/06 10:13:32 tnn Exp $
+
+From c8246c99737c7a844f45eb0e777382cc68397d17 Mon Sep 17 00:00:00 2001
+From: Michal Ruprich <michalruprich%gmail.com@localhost>
+Date: Wed, 10 Feb 2021 15:32:18 +0100
+Subject: [PATCH] Moving glib.h out of extern C
+
+--- ui/rtp_stream.h.orig       2021-03-10 18:21:20.000000000 +0000
++++ ui/rtp_stream.h
+@@ -14,6 +14,8 @@
+ #ifndef __RTP_STREAM_H__
+ #define __RTP_STREAM_H__
+ 
++#include <glib.h>
++
+ /** @file
+  *  "RTP Streams" dialog box common routines.
+  *  @ingroup main_ui_group
+@@ -24,7 +26,6 @@ extern "C" {
+ #endif /* __cplusplus */
+ 
+ #include "tap-rtp-analysis.h"
+-#include <glib.h>
+ #include <stdio.h>
+ 
+ #include "cfile.h"
diff -r 6d3bfe613470 -r 6bd3804496fa net/wireshark/patches/patch-ui_taps.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/patches/patch-ui_taps.h     Tue Apr 06 10:13:32 2021 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ui_taps.h,v 1.1 2021/04/06 10:13:32 tnn Exp $
+
+From c8246c99737c7a844f45eb0e777382cc68397d17 Mon Sep 17 00:00:00 2001
+From: Michal Ruprich <michalruprich%gmail.com@localhost>
+Date: Wed, 10 Feb 2021 15:32:18 +0100
+Subject: [PATCH] Moving glib.h out of extern C
+
+--- ui/taps.h.orig     2021-03-10 18:21:20.000000000 +0000
++++ ui/taps.h
+@@ -11,12 +11,12 @@
+ #ifndef __TAP_REGISTER_H__
+ #define __TAP_REGISTER_H__
+ 
++#include <glib.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif /* __cplusplus */
+ 
+-#include <glib.h>
+-



Home | Main Index | Thread Index | Old Index