diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-06-03 12:50:23 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-06-03 12:51:36 +0200 |
commit | bd310499ec0055ecb7fb91b69cffa1fabdfe02ba (patch) | |
tree | 5da7d909cbe5ca820c727f307f9758562854245a /net-analyzer/wireshark | |
parent | sys-fs/udev-init-scripts-32: arm64 stable (diff) | |
download | gentoo-bd310499ec0055ecb7fb91b69cffa1fabdfe02ba.tar.gz gentoo-bd310499ec0055ecb7fb91b69cffa1fabdfe02ba.tar.bz2 gentoo-bd310499ec0055ecb7fb91b69cffa1fabdfe02ba.zip |
net-analyzer/wireshark: Fix building against Qt 5.11 (bug #656832).
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-analyzer/wireshark')
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-2.6.1-Qt-5.11.patch | 54 | ||||
-rw-r--r-- | net-analyzer/wireshark/wireshark-2.6.1.ebuild | 1 |
2 files changed, 55 insertions, 0 deletions
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 new file mode 100644 index 000000000000..c8d8bb9ce9c2 --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-2.6.1-Qt-5.11.patch @@ -0,0 +1,54 @@ +From b8e8aa87f43c12ad564426b3359f593305cd45a1 Mon Sep 17 00:00:00 2001 +From: Roland Knall <rknall@gmail.com> +Date: Wed, 25 Apr 2018 10:28:30 +0200 +Subject: [PATCH] Qt: Fix various missing header includes + +Qt 5.11 seems to have changed the include dependencies, so adding those, that are missing + +Change-Id: I2b0482f7554467d6981be65bfd3fea1a3e118976 +Reviewed-on: https://code.wireshark.org/review/27145 +Petri-Dish: Roland Knall <rknall@gmail.com> +Tested-by: Petri Dish Buildbot +Reviewed-by: Roland Knall <rknall@gmail.com> +--- + ui/qt/packet_format_group_box.cpp | 1 + + ui/qt/time_shift_dialog.cpp | 1 + + ui/qt/wireless_frame.cpp | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/ui/qt/packet_format_group_box.cpp b/ui/qt/packet_format_group_box.cpp +index a80a71aaaddfce2798ececcbb27a4d9e75382c1b..3c0fff28aa4cd91d344f2e70db1e66123bc17f41 100644 +--- a/ui/qt/packet_format_group_box.cpp ++++ b/ui/qt/packet_format_group_box.cpp +@@ -10,6 +10,7 @@ + #include <ui_packet_format_group_box.h> + + #include <QStyle> ++#include <QStyleOption> + + PacketFormatGroupBox::PacketFormatGroupBox(QWidget *parent) : + QGroupBox(parent), +diff --git a/ui/qt/time_shift_dialog.cpp b/ui/qt/time_shift_dialog.cpp +index 93882c09a377a5630e8bb09b4e80d7f6a84f7293..8460db2e966a0f572478de7430b8b63f4473dd16 100644 +--- a/ui/qt/time_shift_dialog.cpp ++++ b/ui/qt/time_shift_dialog.cpp +@@ -14,6 +14,7 @@ + #include <ui/time_shift.h> + #include <ui/qt/utils/tango_colors.h> + ++#include <QStyleOption> + + TimeShiftDialog::TimeShiftDialog(QWidget *parent, capture_file *cf) : + QDialog(parent), +diff --git a/ui/qt/wireless_frame.cpp b/ui/qt/wireless_frame.cpp +index bd9076abcf4a5d7b6fd73d2bc0b63b4fff8c256a..46fb2dd2f3054f66380239106fb2e27058196447 100644 +--- a/ui/qt/wireless_frame.cpp ++++ b/ui/qt/wireless_frame.cpp +@@ -23,6 +23,7 @@ + #include <wsutil/frequency-utils.h> + + #include <QProcess> ++#include <QAbstractItemView> + + // To do: + // - Disable or hide invalid channel types. diff --git a/net-analyzer/wireshark/wireshark-2.6.1.ebuild b/net-analyzer/wireshark/wireshark-2.6.1.ebuild index 0303f97755a3..1efd67dc6feb 100644 --- a/net-analyzer/wireshark/wireshark-2.6.1.ebuild +++ b/net-analyzer/wireshark/wireshark-2.6.1.ebuild @@ -91,6 +91,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.6.0-androiddump-wsutil.patch "${FILESDIR}"/${PN}-2.6.0-qtsvg.patch "${FILESDIR}"/${PN}-2.6.0-redhat.patch + "${FILESDIR}"/${PN}-2.6.1-Qt-5.11.patch "${FILESDIR}"/${PN}-99999999-androiddump.patch ) |