summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--network/wireshark/README1
-rw-r--r--network/wireshark/wireshark.SlackBuild2
-rw-r--r--network/wireshark/wireshark.patch10
3 files changed, 13 insertions, 0 deletions
diff --git a/network/wireshark/README b/network/wireshark/README
index 43e6e37efc..7f0ebe2840 100644
--- a/network/wireshark/README
+++ b/network/wireshark/README
@@ -48,6 +48,7 @@ Optional dependencies:
- snappy
- lz4
- libsmi
+- libminizip
NOTE: Wireshark 3.0 no longer support legacy GTK+ UI.
diff --git a/network/wireshark/wireshark.SlackBuild b/network/wireshark/wireshark.SlackBuild
index efe1f95895..8e1b7c4914 100644
--- a/network/wireshark/wireshark.SlackBuild
+++ b/network/wireshark/wireshark.SlackBuild
@@ -90,6 +90,8 @@ else
echo "=== Building with lua (v5.1)"
fi
+patch -p1 < $CWD/wireshark.patch
+
mkdir -p build
cd build
cmake \
diff --git a/network/wireshark/wireshark.patch b/network/wireshark/wireshark.patch
new file mode 100644
index 0000000000..2d64c04fb1
--- /dev/null
+++ b/network/wireshark/wireshark.patch
@@ -0,0 +1,10 @@
+--- wireshark-3.2.0/sharkd_session.c.orig 2019-12-24 07:18:33.288976163 +0700
++++ wireshark-3.2.0/sharkd_session.c 2019-12-24 07:18:52.448168808 +0700
+@@ -16,6 +16,7 @@
+ #include <stdarg.h>
+ #include <string.h>
+ #include <errno.h>
++#include <stdint.h>
+
+ #include <glib.h>
+