Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/wireshark/, net-analyzer/wireshark/files/
Date: Sun, 03 Jun 2018 10:51:44
Message-Id: 1528023096.bd310499ec0055ecb7fb91b69cffa1fabdfe02ba.jer@gentoo
1 commit: bd310499ec0055ecb7fb91b69cffa1fabdfe02ba
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 3 10:50:23 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 3 10:51:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd310499
7
8 net-analyzer/wireshark: Fix building against Qt 5.11 (bug #656832).
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 .../wireshark/files/wireshark-2.6.1-Qt-5.11.patch | 54 ++++++++++++++++++++++
13 net-analyzer/wireshark/wireshark-2.6.1.ebuild | 1 +
14 2 files changed, 55 insertions(+)
15
16 diff --git a/net-analyzer/wireshark/files/wireshark-2.6.1-Qt-5.11.patch b/net-analyzer/wireshark/files/wireshark-2.6.1-Qt-5.11.patch
17 new file mode 100644
18 index 00000000000..c8d8bb9ce9c
19 --- /dev/null
20 +++ b/net-analyzer/wireshark/files/wireshark-2.6.1-Qt-5.11.patch
21 @@ -0,0 +1,54 @@
22 +From b8e8aa87f43c12ad564426b3359f593305cd45a1 Mon Sep 17 00:00:00 2001
23 +From: Roland Knall <rknall@×××××.com>
24 +Date: Wed, 25 Apr 2018 10:28:30 +0200
25 +Subject: [PATCH] Qt: Fix various missing header includes
26 +
27 +Qt 5.11 seems to have changed the include dependencies, so adding those, that are missing
28 +
29 +Change-Id: I2b0482f7554467d6981be65bfd3fea1a3e118976
30 +Reviewed-on: https://code.wireshark.org/review/27145
31 +Petri-Dish: Roland Knall <rknall@×××××.com>
32 +Tested-by: Petri Dish Buildbot
33 +Reviewed-by: Roland Knall <rknall@×××××.com>
34 +---
35 + ui/qt/packet_format_group_box.cpp | 1 +
36 + ui/qt/time_shift_dialog.cpp | 1 +
37 + ui/qt/wireless_frame.cpp | 1 +
38 + 3 files changed, 3 insertions(+)
39 +
40 +diff --git a/ui/qt/packet_format_group_box.cpp b/ui/qt/packet_format_group_box.cpp
41 +index a80a71aaaddfce2798ececcbb27a4d9e75382c1b..3c0fff28aa4cd91d344f2e70db1e66123bc17f41 100644
42 +--- a/ui/qt/packet_format_group_box.cpp
43 ++++ b/ui/qt/packet_format_group_box.cpp
44 +@@ -10,6 +10,7 @@
45 + #include <ui_packet_format_group_box.h>
46 +
47 + #include <QStyle>
48 ++#include <QStyleOption>
49 +
50 + PacketFormatGroupBox::PacketFormatGroupBox(QWidget *parent) :
51 + QGroupBox(parent),
52 +diff --git a/ui/qt/time_shift_dialog.cpp b/ui/qt/time_shift_dialog.cpp
53 +index 93882c09a377a5630e8bb09b4e80d7f6a84f7293..8460db2e966a0f572478de7430b8b63f4473dd16 100644
54 +--- a/ui/qt/time_shift_dialog.cpp
55 ++++ b/ui/qt/time_shift_dialog.cpp
56 +@@ -14,6 +14,7 @@
57 + #include <ui/time_shift.h>
58 + #include <ui/qt/utils/tango_colors.h>
59 +
60 ++#include <QStyleOption>
61 +
62 + TimeShiftDialog::TimeShiftDialog(QWidget *parent, capture_file *cf) :
63 + QDialog(parent),
64 +diff --git a/ui/qt/wireless_frame.cpp b/ui/qt/wireless_frame.cpp
65 +index bd9076abcf4a5d7b6fd73d2bc0b63b4fff8c256a..46fb2dd2f3054f66380239106fb2e27058196447 100644
66 +--- a/ui/qt/wireless_frame.cpp
67 ++++ b/ui/qt/wireless_frame.cpp
68 +@@ -23,6 +23,7 @@
69 + #include <wsutil/frequency-utils.h>
70 +
71 + #include <QProcess>
72 ++#include <QAbstractItemView>
73 +
74 + // To do:
75 + // - Disable or hide invalid channel types.
76
77 diff --git a/net-analyzer/wireshark/wireshark-2.6.1.ebuild b/net-analyzer/wireshark/wireshark-2.6.1.ebuild
78 index 0303f97755a..1efd67dc6fe 100644
79 --- a/net-analyzer/wireshark/wireshark-2.6.1.ebuild
80 +++ b/net-analyzer/wireshark/wireshark-2.6.1.ebuild
81 @@ -91,6 +91,7 @@ PATCHES=(
82 "${FILESDIR}"/${PN}-2.6.0-androiddump-wsutil.patch
83 "${FILESDIR}"/${PN}-2.6.0-qtsvg.patch
84 "${FILESDIR}"/${PN}-2.6.0-redhat.patch
85 + "${FILESDIR}"/${PN}-2.6.1-Qt-5.11.patch
86 "${FILESDIR}"/${PN}-99999999-androiddump.patch
87 )