summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Tim2019-12-24 03:38:57 +0100
committer Willy Sudiarto Raharjo2019-12-24 03:40:11 +0100
commit761db1767585e30d2d3854ab6359ce64092d0144 (patch)
treea6006bbb7195373fac9f6f314b1d80948da69ca6 /network
parentf325135c33f66f87f1b22bece05f14859b5d46bb (diff)
downloadslackbuilds-761db1767585e30d2d3854ab6359ce64092d0144.tar.gz
network/wireshark: Add missing patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-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>
+