summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-05-04 19:53:50 +0200
committerJeroen Roovers <jer@gentoo.org>2018-05-04 20:01:27 +0200
commit3614f5d49b3123f7a627e27bcb085d1d58c890b0 (patch)
tree88135b3e13059e53b31bfd2ed7e825ce9ca768a0 /net-analyzer
parentxfce-extra/xfce4-diskperf-plugin: Add patch to avoid name clash, bug 611418 (diff)
downloadgentoo-3614f5d49b3123f7a627e27bcb085d1d58c890b0.tar.gz
gentoo-3614f5d49b3123f7a627e27bcb085d1d58c890b0.tar.bz2
gentoo-3614f5d49b3123f7a627e27bcb085d1d58c890b0.zip
net-analyzer/wireshark: #654714, #654690.
Package-Manager: Portage-2.3.33, Repoman-2.3.9
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/wireshark/files/wireshark-2.6.0-qtsvg.patch29
-rw-r--r--net-analyzer/wireshark/files/wireshark-2.6.0-redhat.patch11
-rw-r--r--net-analyzer/wireshark/wireshark-2.6.0-r1.ebuild2
-rw-r--r--net-analyzer/wireshark/wireshark-99999999.ebuild2
4 files changed, 44 insertions, 0 deletions
diff --git a/net-analyzer/wireshark/files/wireshark-2.6.0-qtsvg.patch b/net-analyzer/wireshark/files/wireshark-2.6.0-qtsvg.patch
new file mode 100644
index 000000000000..633277275901
--- /dev/null
+++ b/net-analyzer/wireshark/files/wireshark-2.6.0-qtsvg.patch
@@ -0,0 +1,29 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -926,14 +926,12 @@
+ Qt5LinguistTools
+ Qt5Multimedia
+ Qt5PrintSupport
+- Qt5Svg
+ Qt5Widgets
+ )
+ set(Qt5Core_OPTIONS REQUIRED)
+ set(Qt5LinguistTools_OPTIONS REQUIRED)
+ set(Qt5Multimedia_OPTIONS REQUIRED)
+ set(Qt5PrintSupport_OPTIONS REQUIRED)
+- set(Qt5Svg_OPTIONS REQUIRED)
+ set(Qt5Widgets_OPTIONS REQUIRED)
+ if (APPLE)
+ set(PACKAGELIST ${PACKAGELIST} Qt5MacExtras)
+@@ -1229,11 +1227,6 @@
+ # That's the name autofoo uses
+ set(QT_MULTIMEDIA_LIB 1)
+ endif()
+- if(Qt5Svg_FOUND)
+- set (QT_LIBRARIES ${QT_LIBRARIES} ${Qt5Svg_LIBRARIES})
+- # That's the name autofoo uses
+- set(QT_SVG_LIB 1)
+- endif()
+ if(Qt5MacExtras_FOUND)
+ set (QT_LIBRARIES ${QT_LIBRARIES} ${Qt5MacExtras_LIBRARIES})
+ # That's the name autofoo uses
diff --git a/net-analyzer/wireshark/files/wireshark-2.6.0-redhat.patch b/net-analyzer/wireshark/files/wireshark-2.6.0-redhat.patch
new file mode 100644
index 000000000000..fe17609bf619
--- /dev/null
+++ b/net-analyzer/wireshark/files/wireshark-2.6.0-redhat.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -3019,7 +3019,7 @@
+
+ endif()
+
+-if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
++if(CMAKE_SYSTEM_NAME STREQUAL "Red Hat")
+ find_program(RPMBUILD_EXECUTABLE rpmbuild)
+ find_program(GIT_EXECUTABLE git)
+ endif()
diff --git a/net-analyzer/wireshark/wireshark-2.6.0-r1.ebuild b/net-analyzer/wireshark/wireshark-2.6.0-r1.ebuild
index 40b8f06bf924..23ffa310a9ed 100644
--- a/net-analyzer/wireshark/wireshark-2.6.0-r1.ebuild
+++ b/net-analyzer/wireshark/wireshark-2.6.0-r1.ebuild
@@ -89,6 +89,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.99.8-qtchooser.patch
"${FILESDIR}"/${PN}-2.4-androiddump.patch
"${FILESDIR}"/${PN}-2.6.0-androiddump-wsutil.patch
+ "${FILESDIR}"/${PN}-2.6.0-qtsvg.patch
+ "${FILESDIR}"/${PN}-2.6.0-redhat.patch
"${FILESDIR}"/${PN}-99999999-androiddump.patch
)
diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-99999999.ebuild
index c216e52d33d5..7ca08d8b9246 100644
--- a/net-analyzer/wireshark/wireshark-99999999.ebuild
+++ b/net-analyzer/wireshark/wireshark-99999999.ebuild
@@ -88,6 +88,8 @@ RDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-2.4-androiddump.patch
"${FILESDIR}"/${PN}-2.6.0-androiddump-wsutil.patch
+ "${FILESDIR}"/${PN}-2.6.0-qtsvg.patch
+ "${FILESDIR}"/${PN}-2.6.0-redhat.patch
)
pkg_setup() {